Task how to translate c# to C++/CLI?

0 like 0 dislike
56 views
Need to translate to C++/CLI from C# here it is:
//===================================================================================
(C#)
System.Threading.Tasks; var tok1 = Task.Factory.StartNew( () => { /... }); //==================================================================================== (C++) ( The catch (() =>)) using namespace System::Threading::Tasks; Task^ tok1 = Task::Factory->StartNew( <----?????????????????????????????????????????????? { /... }); //=====================================================================================
by | 56 views

1 Answer

0 like 0 dislike
is the lambda function, how to work with them in C++11 and above can be seen here
by

Related questions

110,608 questions
257,186 answers
0 comments
28,760 users