All challenges
Multiple ChoiceHard 45s

co_await Customization Point Lookup

Which lookup is used to find operator co_await for an awaitable expression `e` in a coroutine?
Options
  1. 1Always argument-dependent lookup on the type of e, exactly as the expression is written
  2. 2Member operator co_await first, then non-member operator co_await found by ADL, otherwise e itself
  3. 3Only the std::operator co_await specializations declared for standard awaitable types
  4. 4Global namespace lookup that ignores argument-dependent lookup for the awaitable type

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle