These are chat archives for ChaiScript/ChaiScript

4th
Feb 2017
Raoul Wols
@rwols
Feb 04 2017 12:44
@M2tM if you use the syntax auto mylambda = [=]() { /* do stuff with "a" */ }, then ais captured by-value
a little down this page it explains the syntax for capturing by-copy or by-reference