1.2 KiB
1.2 KiB
[exec.get.allocator]
33 Execution control library [exec]
33.5 Queries [exec.queries]
33.5.2 get_allocator [exec.get.allocator]
get_allocator asks a queryable object for its associated allocator.
The name get_allocator denotes a query object.
For a subexpression env,get_allocator(env) is expression-equivalent toMANDATE-NOTHROW(AS-CONST(env).query(get_allocator)).
Mandates: If the expression above is well-formed, its type satisfiessimple-allocator ([allocator.requirements.general]).
forwarding_query(get_allocator) is a core constant expression and has value true.