Run Code | API | Code Wall | Misc | Feedback | Login | Theme | Privacy | Patreon |
packaged_task_compile_error_VSError(s): C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xutility(287): error C2280: 'MoveOnlyOperation::MoveOnlyOperation(const MoveOnlyOperation &)': attempting to reference a deleted function source_file.cpp(10): note: see declaration of 'MoveOnlyOperation::MoveOnlyOperation' C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\functional(159): note: see reference to function template instantiation 'std::_Compressed_pair<_Alloc,_Callable,true>::_Compressed_pair<const _Alloc&,const _Callable&>(std::_One_then_variadic_args_t,_Other1,const _Callable &)' being compiled with [ _Alloc=std::allocator<int>, _Callable=_Decayed, _Other1=const std::allocator<int> & ] C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\functional(157): note: see reference to function template instantiation 'std::_Compressed_pair<_Alloc,_Callable,true>::_Compressed_pair<const _Alloc&,const _Callable&>(std::_One_then_variadic_args_t,_Other1,const _Callable &)' being compiled with [ _Alloc=std::allocator<int>, _Callable=_Decayed, _Other1=const std::allocator<int> & ] C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(655): note: see reference to function template instantiation 'std::_Func_impl<_Decayed,_Alloc,_Ret>::_Func_impl<const _Callable&,const _Alloc&>(_Other1,_Other2)' being compiled with [ _Alloc=std::allocator<int>, _Ret=void, _Callable=_Decayed, _Other1=const _Decayed &, _Other2=const std::allocator<int> & ] C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(655): note: see reference to function template instantiation 'std::_Func_impl<_Decayed,_Alloc,_Ret>::_Func_impl<const _Callable&,const _Alloc&>(_Other1,_Other2)' being compiled with [ _Alloc=std::allocator<int>, _Ret=void, _Callable=_Decayed, _Other1=const _Decayed &, _Other2=const std::allocator<int> & ] C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(773): note: see reference to function template instantiation 'void std::allocator<_Other>::construct<_Objty,const _Callable&,const _Alloc&>(_Objty *,const _Callable &,const _Alloc &)' being compiled with [ _Other=_Myimpl, _Objty=std::_Func_impl<_Decayed,std::allocator<int>,void>, _Callable=_Decayed, _Alloc=std::allocator<int> ] C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(773): note: see reference to function template instantiation 'void std::allocator<_Other>::construct<_Objty,const _Callable&,const _Alloc&>(_Objty *,const _Callable &,const _Alloc &)' being compiled with [ _Other=_Myimpl, _Objty=std::_Func_impl<_Decayed,std::allocator<int>,void>, _Callable=_Decayed, _Alloc=std::allocator<int> ] C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(918): note: see reference to function template instantiation 'void std::allocator_traits<_Alloc>::construct<_Ty,const _Callable&,const std::allocator<int>&>(std::allocator<_Ty> &,_Objty *,const _Callable &,const std::allocator<int> &)' being compiled with [ _Alloc=std::allocator<_Myimpl>, _Ty=std::_Func_impl<_Decayed,std::allocator<int>,void>, _Callable=_Decayed, _Objty=std::_Func_impl<_Decayed,std::allocator<int>,void> ] C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xmemory0(917): note: see reference to function template instantiation 'void std::allocator_traits<_Alloc>::construct<_Ty,const _Callable&,const std::allocator<int>&>(std::allocator<_Ty> &,_Objty *,const _Callable &,const std::allocator<int> &)' being compiled with [ _Alloc=std::allocator<_Myimpl>, _Ty=std::_Func_impl<_Decayed,std::allocator<int>,void>, _Callable=_Decayed, _Objty=std::_Func_impl<_Decayed,std::allocator<int>,void> ] C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\functional(193): note: see reference to function template instantiation 'void std::_Wrap_alloc<std::allocator<_Other>>::construct<std::_Func_impl<_Decayed,_Alloc,_Ret>,const _Callable&,const _Alloc&>(_Ty *,const _Callable &,const _Alloc &)' being compiled with [ _Other=_Myimpl, _Alloc=std::allocator<int>, _Ret=void, _Callable=_Decayed, _Ty=std::_Func_impl<_Decayed,std::allocator<int>,void> ] C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\functional(193): note: see reference to function template instantiation 'void std::_Wrap_alloc<std::allocator<_Other>>::construct<std::_Func_impl<_Decayed,_Alloc,_Ret>,const _Callable&,const _Alloc&>(_Ty *,const _Callable &,const _Alloc &)' being compiled with [ _Other=_Myimpl, _Alloc=std::allocator<int>, _Ret=void, _Callable=_Decayed, _Ty=std::_Func_impl<_Decayed,std::allocator<int>,void> ] C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\functional(169): note: see reference to function template instantiation 'std::_Func_base<_Ret> *std::_Func_impl<_Decayed,_Alloc,_Ret>::_Clone<void>(_Void *,std::false_type) const' being compiled with [ _Ret=void, _Alloc=std::allocator<int>, _Void=void ] C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\functional(169): note: see reference to function template instantiation 'std::_Func_base<_Ret> *std::_Func_impl<_Decayed,_Alloc,_Ret>::_Clone<void>(_Void *,std::false_type) const' being compiled with [ _Ret=void, _Alloc=std::allocator<int>, _Void=void ] C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\functional(168): note: while compiling class template member function 'std::_Func_base<_Ret> *std::_Func_impl<_Decayed,_Alloc,_Ret>::_Copy(void *) const' with [ _Ret=void, _Alloc=std::allocator<int> ] C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\functional(134): note: see reference to class template instantiation 'std::_Func_impl<_Decayed,_Alloc,_Ret>' being compiled with [ _Alloc=std::allocator<int>, _Ret=void ] C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\functional(337): note: see reference to class template instantiation 'std::_Is_large<_Myimpl>' being compiled C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\functional(316): note: see reference to function template instantiation 'void std::_Func_class<_Ret>::_Reset_alloc<_Ty,std::allocator<int>>(_Fx &&,const _Alloc &)' being compiled with [ _Ret=void, _Ty=MoveOnlyOperation, _Fx=MoveOnlyOperation, _Alloc=std::allocator<int> ] C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\functional(316): note: see reference to function template instantiation 'void std::_Func_class<_Ret>::_Reset_alloc<_Ty,std::allocator<int>>(_Fx &&,const _Alloc &)' being compiled with [ _Ret=void, _Ty=MoveOnlyOperation, _Fx=MoveOnlyOperation, _Alloc=std::allocator<int> ] C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\functional(482): note: see reference to function template instantiation 'void std::_Func_class<_Ret>::_Reset<MoveOnlyOperation>(_Fx &&)' being compiled with [ _Ret=void, _Fx=MoveOnlyOperation ] C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\functional(482): note: see reference to function template instantiation 'void std::_Func_class<_Ret>::_Reset<MoveOnlyOperation>(_Fx &&)' being compiled with [ _Ret=void, _Fx=MoveOnlyOperation ] C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\future(723): note: see reference to function template instantiation 'std::function<void (void)>::function<_Ty>(_Fx)' being compiled with [ _Ty=MoveOnlyOperation, _Fx=MoveOnlyOperation ] C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\future(722): note: see reference to function template instantiation 'std::function<void (void)>::function<_Ty>(_Fx)' being compiled with [ _Ty=MoveOnlyOperation, _Fx=MoveOnlyOperation ] C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\future(1759): note: see reference to function template instantiation 'std::_Packaged_state<_Ret (void)>::_Packaged_state<_Ty>(_Fty2 &&)' being compiled with [ _Ret=void, _Ty=MoveOnlyOperation, _Fty2=MoveOnlyOperation ] C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\future(1759): note: see reference to function template instantiation 'std::_Packaged_state<_Ret (void)>::_Packaged_state<_Ty>(_Fty2 &&)' being compiled with [ _Ret=void, _Ty=MoveOnlyOperation, _Fty2=MoveOnlyOperation ] source_file.cpp(21): note: see reference to function template instantiation 'std::packaged_task<void (void)>::packaged_task<MoveOnlyOperation,void>(_Fty2 &&)' being compiled with [ _Fty2=MoveOnlyOperation ] source_file.cpp(21): note: see reference to function template instantiation 'std::packaged_task<void (void)>::packaged_task<MoveOnlyOperation,void>(_Fty2 &&)' being compiled with [ _Fty2=MoveOnlyOperation ] Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x64 |
λ
.NET NoSQL database for rapid development
|