Код: Выделить всё
#include
#include
#include
#include
#include
using namespace std;
void do_work(int id)
{
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/41156330/whats-the-difference-between-stdmem-fun-and-lambda-in-c11[/url]Код: Выделить всё
#include
#include
#include
#include
#include
using namespace std;
void do_work(int id)
{
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/41156330/whats-the-difference-between-stdmem-fun-and-lambda-in-c11[/url]