+ Reply to Thread
Results 1 to 2 of 2

Thread: simple lambda program using new C++ standard

  1. #1
    Junior Member
    Join Date
    Feb 2012
    Posts
    29

    simple lambda program using new C++ standard

    Can anybody write simple example of Lambda using new C++ standard?

  2. #2
    Lamdas are just like function pointers or function objects.

    You can use as following:

    Code:
    void SimpleLambda()
    {
    	[] () 
    	{ 
    		OutputDebugString("Hello World!!!") ; ; 
    	}() ;
    }

+ Reply to Thread

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts