Groups
Groups
Sign in
Groups
Groups
golang-nuts
Conversations
About
Send feedback
Help
what does capture by value means here?
68 views
Skip to first unread message
xie cui
unread,
Feb 12, 2021, 12:59:00 AM
2/12/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
https://github.com/golang/go/blob/c31540364c2bc3bdb7800cfc344d85c2c9df3893/src/cmd/compile/internal/gc/main.go#L654
what is captured by value not esacpe means here, can you show a demo code?
Brian Candler
unread,
Feb 12, 2021, 3:31:31 AM
2/12/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
Search for "golang escape to heap" and you'll get lots of explanation and examples.
Reply all
Reply to author
Forward
0 new messages