簡體   English   中英

Boost.Coroutine和Boost.Coroutine2之間的差異

[英]Differences between Boost.Coroutine and Boost.Coroutine2

Boost.CoroutineBoost.Coroutine2之間的主要區別是什么?

一些差異:

  • Boost.Coroutine2需要C ++ 11
  • Boost.Coroutine提供對稱和非對稱協同程序,Boost.Coroutine2僅提供不對稱協同程序。
  • boost.coroutine2是boost.coroutine的后續項目(boost.coroutine很快會被標記為已棄用)
  • boost.coroutine2使用boost.context中的class execution_context
  • boost.coroutine是使用來自boost.context的棄用的C-like fcontext-API實現的

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM