Click here to Skip to main content
15,891,777 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
First thanks for taking your time to read my post.

Hi
I am struct in a logic of C++
[=](){ namespace1::classname::instance()->quit(); }

instance() returns a std::shared_ptr<classname>

quit returns a void

I didn't get exactly what [=]() means.

Something it has to do with functors. But I didn't get the syntax. :(

Yuvi
Posted

1 solution

 
Share this answer
 
Comments
Yuvaraj Gogoi 3-Oct-13 12:52pm    
Thanks.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900