I am wondering when is aliasing arguments and the result allowed with
The current code seems to explicitly take aliasing into consideration,
but according to a comment in issue 7814 "the program uses the same Int
for result and arguments, so the behavior is undefined." aliasing should
not be used.
Take for example http://play.golang.org/p/wUGP39gbyy
What is the current best practice for writing it?
What operations are defined and undefined with respect to aliasing?
- Taru Karttunen
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
For more options, visit https://groups.google.com/d/optout.