Differences between Boost.Coroutine and Boost.Coroutine2

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-01 16:52:18

Some differences:

  • Boost.Coroutine2 requires C++11
  • Boost.Coroutine provides symmetric and asymmetric coroutines, Boost.Coroutine2 only provides asymmetric coroutines.
  • boost.coroutine2 is the follow-up project of boost.coroutine (boost.coroutine will be marked as deprecated soon)
  • boost.coroutine2 uses class execution_context from boost.context
  • boost.coroutine is implemented with the deprecated C-like fcontext-API from boost.context
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!