34 ms·
I'm also not a c++ programmer, but from what I've read so far I'd say the [](){} part is a lambda function which: [] - captures no vars () - accepts no par
by nimbix 15y ago
I'm also not a c++ programmer, but from what I've read so far I'd say the [](){} part is a lambda function which:
[] - captures no vars
() - accepts no parameters
{} - has an empty body
Wrapping it in (...)() immediately executes it.