我们的目标是像这样使用Serializable:我使用的是Visual Studio平台工具2017\lib\cereal\include\cereal\cereal.hpp(290): note: see reference to function template instantiation 'voidT=std::shared_ptr<
:src/test.cc:15:17: error: no matching function for call to ‘from src/test.cc:2:
/usr/include/c++/4.7/bits/stl_queue.h:211:7: note: voidstd::queue<_Tp, _Sequence>&
我怀疑,原因是std::packaged_task将lambda内部存储在需要CopyConstructible参数的std::function中。然而,std::packaged_task是只移动的.这是个虫子吗?标准是怎么说的?/cpp11test/main.cpp:160:
/usr/include/c++/4.6/functional: In static member <e