Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1>e:\program files (x86)\microsoft visual studio 14.0\vc\include\thr\xthread(238): error C2893: Failed to specialize function template 'unknown-type std::invoke(_Callable &&,_Types &&...)'
- 1> e:\program files (x86)\microsoft visual studio 14.0\vc\include\thr\xthread(238): note: With the following template arguments:
- 1> e:\program files (x86)\microsoft visual studio 14.0\vc\include\thr\xthread(238): note: '_Callable=main::<lambda_bd35448d142d092a9b357021eb98a1c0>'
- 1> e:\program files (x86)\microsoft visual studio 14.0\vc\include\thr\xthread(238): note: '_Types={int}'
- 1> e:\program files (x86)\microsoft visual studio 14.0\vc\include\thr\xthread(247): note: see reference to function template instantiation 'void std::_LaunchPad<_Target>::_Execute<0x00,0x01>(std::tuple<main::<lambda_bd35448d142d092a9b357021eb98a1c0>,int> &,std::integer_sequence<_Ty,0x00,0x01>)' being compiled
- 1> with
- 1> [
- 1> _Target=std::unique_ptr<std::tuple<main::<lambda_bd35448d142d092a9b357021eb98a1c0>,int>,std::default_delete<std::tuple<main::<lambda_bd35448d142d092a9b357021eb98a1c0>,int>>>,
- 1> _Ty=size_t
- 1> ]
- 1> e:\program files (x86)\microsoft visual studio 14.0\vc\include\thr\xthread(247): note: see reference to function template instantiation 'void std::_LaunchPad<_Target>::_Execute<0x00,0x01>(std::tuple<main::<lambda_bd35448d142d092a9b357021eb98a1c0>,int> &,std::integer_sequence<_Ty,0x00,0x01>)' being compiled
- 1> with
- 1> [
- 1> _Target=std::unique_ptr<std::tuple<main::<lambda_bd35448d142d092a9b357021eb98a1c0>,int>,std::default_delete<std::tuple<main::<lambda_bd35448d142d092a9b357021eb98a1c0>,int>>>,
- 1> _Ty=size_t
- 1> ]
- 1> e:\program files (x86)\microsoft visual studio 14.0\vc\include\thr\xthread(242): note: while compiling class template member function 'void std::_LaunchPad<_Target>::_Run(std::_LaunchPad<_Target> *) noexcept'
- 1> with
- 1> [
- 1> _Target=std::unique_ptr<std::tuple<main::<lambda_bd35448d142d092a9b357021eb98a1c0>,int>,std::default_delete<std::tuple<main::<lambda_bd35448d142d092a9b357021eb98a1c0>,int>>>
- 1> ]
- 1> e:\program files (x86)\microsoft visual studio 14.0\vc\include\thr\xthread(230): note: see reference to function template instantiation 'void std::_LaunchPad<_Target>::_Run(std::_LaunchPad<_Target> *) noexcept' being compiled
- 1> with
- 1> [
- 1> _Target=std::unique_ptr<std::tuple<main::<lambda_bd35448d142d092a9b357021eb98a1c0>,int>,std::default_delete<std::tuple<main::<lambda_bd35448d142d092a9b357021eb98a1c0>,int>>>
- 1> ]
- 1> e:\program files (x86)\microsoft visual studio 14.0\vc\include\thr\xthread(256): note: see reference to class template instantiation 'std::_LaunchPad<_Target>' being compiled
- 1> with
- 1> [
- 1> _Target=std::unique_ptr<std::tuple<main::<lambda_bd35448d142d092a9b357021eb98a1c0>,int>,std::default_delete<std::tuple<main::<lambda_bd35448d142d092a9b357021eb98a1c0>,int>>>
- 1> ]
- 1> e:\program files (x86)\microsoft visual studio 14.0\vc\include\thread(52): note: see reference to function template instantiation 'void std::_Launch<std::unique_ptr<std::tuple<main::<lambda_bd35448d142d092a9b357021eb98a1c0>,int>,std::default_delete<std::tuple<main::<lambda_bd35448d142d092a9b357021eb98a1c0>,int>>>>(_Thrd_t *,_Target &&)' being compiled
- 1> with
- 1> [
- 1> _Target=std::unique_ptr<std::tuple<main::<lambda_bd35448d142d092a9b357021eb98a1c0>,int>,std::default_delete<std::tuple<main::<lambda_bd35448d142d092a9b357021eb98a1c0>,int>>>
- 1> ]
- 1> c:\users\ot_chen\documents\visual studio 2015\projects\consoleapplication1\consoleapplication1\consoleapplication1.cpp(24): note: see reference to function template instantiation 'std::thread::thread<main::<lambda_bd35448d142d092a9b357021eb98a1c0>&,int&,void>(_Fn,int &)' being compiled
- 1> with
- 1> [
- 1> _Fn=main::<lambda_bd35448d142d092a9b357021eb98a1c0> &
- 1> ]
Advertisement
Add Comment
Please, Sign In to add comment