C++ Logo


Advanced search

Subject: Macro for <coroutine>
From: Barry Revzin (barry.revzin_at_[hidden])
Date: 2020-01-13 23:07:45

Hi SG10,

We currently have the feature test macro __cpp_coroutines, but we have no
macro for the library machinery in <coroutine>. I'm not super familiar with
coroutines, but it seems like this works a lot like <=> and <compare> where
you need the library bit to do anything?

Should we then change the language macro to __cpp_impl_coroutines and
introduce a new library macro __cpp_lib_coroutines, that users check for?


SG10 list run by sg10-owner@lists.isocpp.org