From Jason Turner

[container.intro.reqmts]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpbd81oqjj/{from.md → to.md} +23 -0
tmp/tmpbd81oqjj/{from.md → to.md} RENAMED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #### Introduction <a id="container.intro.reqmts">[[container.intro.reqmts]]</a>
2
+
3
+ In [[container.requirements.general]],
4
+
5
+ - `X` denotes a container class containing objects of type `T`,
6
+ - `a` denotes a value of type `X`,
7
+ - `b` and `c` denote values of type (possibly const) `X`,
8
+ - `i` and `j` denote values of type (possibly const) `X::iterator`,
9
+ - `u` denotes an identifier,
10
+ - `v` denotes an lvalue of type (possibly const) `X` or an rvalue of
11
+ type `const X`,
12
+ - `s` and `t` denote non-const lvalues of type `X`, and
13
+ - `rv` denotes a non-const rvalue of type `X`.
14
+
15
+ The following exposition-only concept is used in the definition of
16
+ containers:
17
+
18
+ ``` cpp
19
+ template<class R, class T>
20
+ concept container-compatible-range = // exposition only
21
+ ranges::input_range<R> && convertible_to<ranges::range_reference_t<R>, T>;
22
+ ```
23
+