Expression | Return type | Pre/post-condition | Complexity | |
D::result_type | T | compile-time | ||
D::param_type | P | compile-time | ||
D() | Creates a distribution whose behavior is indistinguishable
from that of any other newly default-constructed distribution
of type D. | constant | ||
D(p) | Creates a distribution whose behavior is indistinguishable
from that of a distribution
newly constructed directly from the values used to construct p. | same as p's construction | ||
d.reset() | void | constant | ||
x.param() | P | no worse than the complexity of D(p) | ||
d.param(p) | void | Postconditions: d.param() == p. | no worse than the complexity of D(p) | |
d(g) | T | With ,
the sequence of numbers
returned by successive invocations
with the same object g
is randomly distributed
according to the associated
p(z |{p})
or
function. | amortized constant number of invocations of g | |
d(g,p) | T | The sequence of numbers
returned by successive invocations
with the same objects g and p
is randomly distributed
according to the associated
p(z |{p})
or
function. | amortized constant number of invocations of g | |
x.min() | T | Returns glb. | constant | |
x.max() | T | Returns lub. | constant | |
x == y | bool | constant | ||
x != y | bool | !(x == y). | same as x == y. | |
os << x | reference to the type of os | Postconditions: The os.fmtflags and fill character are unchanged. | ||
is >> d | reference to the type of is | If bad input is encountered,
ensures that d is unchanged by the operation
and
calls is.setstate(ios_base::failbit)
(which may throw ios_base::failure ([iostate.flags])). Preconditions: is provides a textual representation
that was previously written
using an os whose imbued locale
and whose type's template specialization arguments
charT and traits
were the same as those of is. Postconditions: The is.fmtflags are unchanged. |