![]() ![]() Sponsor Open Source development activities and free contents for everyone.Īpplication (UI) - using Windows Forms (Visual Studio 2013/2012)īoost - shared_ptr, weak_ptr, mpl, lambda, etc.īoost.Asio (Socket Programming - Asynchronous TCP/IP).Ĭ++11(C++0x): rvalue references, move constructor, and lambda, etc.Įclipse CDT / JNI (Java Native Interface) / MinGWĮmbedded Systems Programming I - IntroductionĮmbedded Systems Programming II - gcc ARM Toolchain and Simple Code on Ubuntu and FedoraĮmbedded Systems Programming III - Eclipse CDT Plugin for gcc ARM Toolchainįunctors (Function Objects) I - Introductionįunctors (Function Objects) II - Converting function to functor If we need to take parameters, we can do this by following the lambda introducer with a parameter list just like for a normal function as shown in the second example which writes all the elements of the vector. The first lambda expression is rather unusual because it has no parameters inside the parentheses. assign a value to each element of a vector ![]() Previously, for_each() needs a named function as shown in the example below: It is a function that we can write inline in our code in order to pass in to another function. ![]() It allows a function to be defined at the point where it's needed in another expression. C++11 provides the ability to create anonymous functions, called lambda functions. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |