cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
functions in c++
functions in c++
Sep 26, 2013 at 2:50pm UTC
Neeru
(7)
Somewhere I came across a code like this
1
2
3
4
5
6
class_name::function( [=] { function1(); function2(); function3(); });
This was passed to some other template class. I think that this entire list of function calls which are enclosed within { and } as function body of function. But what is [=] mean ?
what is the good book which explains all these stuff?
Last edited on
Sep 26, 2013 at 2:51pm UTC
Sep 26, 2013 at 3:05pm UTC
JLBorges
(13770)
Overview:
http://en.wikipedia.org/wiki/Anonymous_function#C.2B.2B
Book:
http://en.wikipedia.org/wiki/Anonymous_function#C.2B.2B
Sep 27, 2013 at 3:37pm UTC
Neeru
(7)
Thanks for your reply.
Sep 27, 2013 at 4:10pm UTC
JLBorges
(13770)
EDIT:
Book:
http://www.amazon.com/Primer-5th-Edition-Stanley-Lippman/dp/0321714113
Topic archived. No new replies allowed.