//Прототип оригинальной функции
std:: vector < T> just_merge( std:: vector < T> & first, std:: vector < T> & second, bool ascending_order)
//То, как я пытаюсь превратить ее в лямбду (не верно)
std:: function < void ( ) > just_merge = [ & ] ( std:: vector < T> & first, std:: vector < T> & second, bool ascending_order) - > std:: vector < T>
//Попытка номер два: error: C2064: term does not evaluate to a function taking 3 arguments
std:: function < void ( std:: vector < T> ) > merging = [ & ] ( std:: vector < T> & lfirst, std:: vector < T> & lsecond, bool lascending_order)
Ly/Qn9GA0L7RgtC+0YLQuNC/INC+0YDQuNCz0LjQvdCw0LvRjNC90L7QuSDRhNGD0L3QutGG0LjQuApzdGQ6OnZlY3RvcjxUPiBqdXN0X21lcmdlKHN0ZDo6dmVjdG9yPFQ+ICZmaXJzdCwgc3RkOjp2ZWN0b3I8VD4gJnNlY29uZCwgYm9vbCBhc2NlbmRpbmdfb3JkZXIpCi8v0KLQviwg0LrQsNC6INGPINC/0YvRgtCw0Y7RgdGMINC/0YDQtdCy0YDQsNGC0LjRgtGMINC10LUg0LIg0LvRj9C80LHQtNGDICjQvdC1INCy0LXRgNC90L4pCnN0ZDo6ZnVuY3Rpb248dm9pZCgpPiBqdXN0X21lcmdlID0gWyZdKHN0ZDo6dmVjdG9yPFQ+ICZmaXJzdCwgc3RkOjp2ZWN0b3I8VD4gJnNlY29uZCwgYm9vbCBhc2NlbmRpbmdfb3JkZXIpIC0+IHN0ZDo6dmVjdG9yPFQ+Ci8v0J/QvtC/0YvRgtC60LAg0L3QvtC80LXRgCDQtNCy0LA6IGVycm9yOiBDMjA2NDogdGVybSBkb2VzIG5vdCBldmFsdWF0ZSB0byBhIGZ1bmN0aW9uIHRha2luZyAzIGFyZ3VtZW50cwpzdGQ6OmZ1bmN0aW9uPHZvaWQgKHN0ZDo6dmVjdG9yPFQ+KT4gbWVyZ2luZyA9IFsmXShzdGQ6OnZlY3RvcjxUPiAmbGZpcnN0LCBzdGQ6OnZlY3RvcjxUPiAmbHNlY29uZCwgYm9vbCBsYXNjZW5kaW5nX29yZGVyKQo=
compilation info
prog.cpp:2:6: error: 'vector' in namespace 'std' does not name a template type
std::vector<T> just_merge(std::vector<T> &first, std::vector<T> &second, bool ascending_order)
^
stdout