Files
cppdraft_translate/cppdraft/exec/queryable/concept.md
2025-10-25 03:02:53 +03:00

1.2 KiB

[exec.queryable.concept]

33 Execution control library [exec]

33.2 Queries and queryables [exec.queryable]

33.2.2 queryable concept [exec.queryable.concept]

namespace std {templateconcept queryable = destructible; // exposition only}

1

#

The exposition-only queryable concept specifies the constraints on the types of queryable objects.

2

#

Let env be an object of type Env.

The type Env models queryable if for each callable object q and a pack of subexpressions args, if requires { q(env, args...) } is true thenq(env, args...) meets any semantic requirements imposed by q.