From Jason Turner

[exec.get.allocator]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpytwyi4lv/{from.md → to.md} +14 -0
tmp/tmpytwyi4lv/{from.md → to.md} RENAMED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ### `get_allocator` <a id="exec.get.allocator">[[exec.get.allocator]]</a>
2
+
3
+ `get_allocator` asks a queryable object for its associated allocator.
4
+
5
+ The name `get_allocator` denotes a query object. For a subexpression
6
+ `env`, `get_allocator(env)` is expression-equivalent to
7
+ `MANDATE-NOTHROW(AS-CONST(env).query(get_allocator))`.
8
+
9
+ *Mandates:* If the expression above is well-formed, its type satisfies
10
+ `simple-allocator` [[allocator.requirements.general]].
11
+
12
+ `forwarding_query(get_allocator)` is a core constant expression and has
13
+ value `true`.
14
+