33 Execution control library [exec]

33.5 Queries [exec.queries]

33.5.5 execution​::​get_domain [exec.get.domain]

get_domain asks a queryable object for its associated execution domain tag.
The name get_domain denotes a query object.
For a subexpression env, get_domain(env) is expression-equivalent to MANDATE-NOTHROW(as_const(env).query(get_domain)).
forwarding_query(execution​::​get_domain) is a core constant expression and has value true.