On Fri, 14 Oct 2016 07:04:37 -0700 (PDT)
satyen....@gmail.com wrote:

[...]
> Is is possible to provide a standard shortcut for taking the address
> of a literal? Something like:
[...]

I think that if something like this is finally allowed, I'd instead
make a 2-arg form of new() possible to be able to do

  library.Function(new(string, "A nice string!"), new(int, 64))

At least, this would not add more syntax than there alredy is.

-- 
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 golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to