3 Oct
2023
3 Oct
'23
7:09 a.m.
On 03/10/2023 06:52, Klemens Morgenstern wrote:
The solution Niall opted for is eager & lazy. I don't like adjectives as class names (similarly I don't like asio::awaitable) because that's a property of a thing. So imo they should be concepts or traits (e.g. is_eager), which is the case with async::awaitable.
That's not quite accurate. In Outcome I used: `boost::outcome::awaitables::eager<T>` `boost::outcome::awaitables::lazy<T>` The enclosing namespace `awaitables` I think is rather important to the naming choices of "eager" and "lazy". Niall