On Wed, Feb 1, 2017 at 5:04 PM T L <tapir....@gmail.com> wrote:

> But what does an allocated struct or slice means? A struct or slice
allocated on heap, not stack?

There's no heap nor stack from the POV of the language spec. Allocated
means appropriate amount of storage is now used by the instance. Everything
else is an implementation detail and has no influence on the semantics.

-- 

-j

-- 
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