33 Execution control library [exec]

33.5 Queries [exec.queries]

33.5.1 Query utilities [exec.queries.expos]

Subclause [exec.queries] makes use of the following exposition-only entities.
For subexpressions q and tag and pack args, let TRY-QUERY(q, tag, args...) be expression-equivalent to AS-CONST(q).query(tag, args...) if that expression is well-formed, and AS-CONST(q).query(tag) otherwise except that args... is evaluated.
For subexpressions q and tag and pack args, let HIDE-SCHED(q) be an object o such that o.query(​tag, args...) is ill-formed when the decayed type of tag is get_scheduler_t or get_domain_t, and q.query(tag, args...) otherwise.