C++11: Let's Write a "Hello, Lambda!" -- Ovidiu Cucu

Save to:
Instapaper Pocket Readability

Fresh on codexpert:

C++11: Let's Write a "Hello, Lambda!"

by Ovidiu Cucu

From the article:

... Getting rid of optional parts, we can make our program simpler, as follows:

// Example #2

#include <iostream>

int main()
    [] { std::cout << "Hello Lambda!"; } ();

Further, let’s take a little deeper look in the lambda introducer part...

Add a Comment

Comments are closed.

Comments (0)

There are currently no comments on this entry.