C++ Boost.Coroutine和Boost.Coroutine2之间的差异
和之间的主要区别是什么?一些区别:C++ Boost.Coroutine和Boost.Coroutine2之间的差异,c++,boost,boost-coroutine,boost-coroutine2,C++,Boost,Boost Coroutine,Boost Coroutine2,和之间的主要区别是什么?一些区别: Boost.Coroutine2需要C++11 Boost.Coroutine提供对称和非对称协同路由,Boost.Coroutine2只提供非对称协同路由 boost.coroutine2是boost.coroutine的后续项目(boost.coroutine将很快被标记为不推荐) boost.coroutine2使用boost.context中的类执行上下文 boost.coroutine是使用boost.context中不推荐使用的类似C的fcon
- Boost.Coroutine2需要C++11
- Boost.Coroutine提供对称和非对称协同路由,Boost.Coroutine2只提供非对称协同路由
- boost.coroutine2是boost.coroutine的后续项目(boost.coroutine将很快被标记为不推荐)
- boost.coroutine2使用boost.context中的类执行上下文
- boost.coroutine是使用boost.context中不推荐使用的类似C的fcontext API实现的