From Jason Turner

[rand.req.genl]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpvma306vq/{from.md → to.md} +24 -3
tmp/tmpvma306vq/{from.md → to.md} RENAMED
@@ -1,14 +1,35 @@
1
  #### General requirements <a id="rand.req.genl">[[rand.req.genl]]</a>
2
 
3
  Throughout this subclause [[rand]], the effect of instantiating a
4
  template:
5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  Throughout this subclause [[rand]], phrases of the form “`x` is an
7
  iterator of a specific kind” shall be interpreted as equivalent to the
8
- more formal requirement that “`x` is a value of a type satisfying the
9
  requirements of the specified iterator type”.
10
 
11
  Throughout this subclause [[rand]], any constructor that can be called
12
- with a single argument and that satisfies a requirement specified in
13
- this subclause shall be declared `explicit`.
14
 
 
1
  #### General requirements <a id="rand.req.genl">[[rand.req.genl]]</a>
2
 
3
  Throughout this subclause [[rand]], the effect of instantiating a
4
  template:
5
 
6
+ - that has a template type parameter named `Sseq` is undefined unless
7
+ the corresponding template argument is cv-unqualified and meets the
8
+ requirements of seed sequence [[rand.req.seedseq]].
9
+ - that has a template type parameter named `URBG` is undefined unless
10
+ the corresponding template argument is cv-unqualified and meets the
11
+ requirements of uniform random bit generator [[rand.req.urng]].
12
+ - that has a template type parameter named `Engine` is undefined unless
13
+ the corresponding template argument is cv-unqualified and meets the
14
+ requirements of random number engine [[rand.req.eng]].
15
+ - that has a template type parameter named `RealType` is undefined
16
+ unless the corresponding template argument is cv-unqualified and is
17
+ one of `float`, `double`, or `long double`.
18
+ - that has a template type parameter named `IntType` is undefined unless
19
+ the corresponding template argument is cv-unqualified and is one of
20
+ `short`, `int`, `long`, `long long`, `unsigned short`, `unsigned int`,
21
+ `unsigned long`, or `unsigned long long`.
22
+ - that has a template type parameter named `UIntType` is undefined
23
+ unless the corresponding template argument is cv-unqualified and is
24
+ one of `unsigned short`, `unsigned int`, `unsigned long`, or
25
+ `unsigned long long`.
26
+
27
  Throughout this subclause [[rand]], phrases of the form “`x` is an
28
  iterator of a specific kind” shall be interpreted as equivalent to the
29
+ more formal requirement that “`x` is a value of a type meeting the
30
  requirements of the specified iterator type”.
31
 
32
  Throughout this subclause [[rand]], any constructor that can be called
33
+ with a single argument and that meets a requirement specified in this
34
+ subclause shall be declared `explicit`.
35