cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Reference
C library:
<cassert> (assert.h)
<cctype> (ctype.h)
<cerrno> (errno.h)
C++11
<cfenv> (fenv.h)
<cfloat> (float.h)
C++11
<cinttypes> (inttypes.h)
<ciso646> (iso646.h)
<climits> (limits.h)
<clocale> (locale.h)
<cmath> (math.h)
<csetjmp> (setjmp.h)
<csignal> (signal.h)
<cstdarg> (stdarg.h)
C++11
<cstdbool> (stdbool.h)
<cstddef> (stddef.h)
C++11
<cstdint> (stdint.h)
<cstdio> (stdio.h)
<cstdlib> (stdlib.h)
<cstring> (string.h)
C++11
<ctgmath> (tgmath.h)
<ctime> (time.h)
C++11
<cuchar> (uchar.h)
<cwchar> (wchar.h)
<cwctype> (wctype.h)
Containers:
C++11
<array>
<deque>
C++11
<forward_list>
<list>
<map>
<queue>
<set>
<stack>
C++11
<unordered_map>
C++11
<unordered_set>
<vector>
Input/Output:
<fstream>
<iomanip>
<ios>
<iosfwd>
<iostream>
<istream>
<ostream>
<sstream>
<streambuf>
Multi-threading:
C++11
<atomic>
C++11
<condition_variable>
C++11
<future>
C++11
<mutex>
C++11
<thread>
Other:
<algorithm>
<bitset>
C++11
<chrono>
C++11
<codecvt>
<complex>
<exception>
<functional>
C++11
<initializer_list>
<iterator>
<limits>
<locale>
<memory>
<new>
<numeric>
C++11
<random>
C++11
<ratio>
C++11
<regex>
<stdexcept>
<string>
C++11
<system_error>
C++11
<tuple>
C++11
<type_traits>
C++11
<typeindex>
<typeinfo>
<utility>
<valarray>
<random>
distributions
C++11
bernoulli_distribution
C++11
binomial_distribution
C++11
cauchy_distribution
C++11
chi_squared_distribution
C++11
discrete_distribution
C++11
exponential_distribution
C++11
extreme_value_distribution
C++11
fisher_f_distribution
C++11
gamma_distribution
C++11
geometric_distribution
C++11
lognormal_distribution
C++11
negative_binomial_distribution
C++11
normal_distribution
C++11
piecewise_constant_distribution
C++11
piecewise_linear_distribution
C++11
poisson_distribution
C++11
student_t_distribution
C++11
uniform_int_distribution
C++11
uniform_real_distribution
C++11
weibull_distribution
generators
C++11
default_random_engine
C++11
discard_block_engine
C++11
independent_bits_engine
C++11
knuth_b
C++11
linear_congruential_engine
C++11
mersenne_twister_engine
C++11
minstd_rand
C++11
minstd_rand0
C++11
mt19937
C++11
mt19937_64
C++11
random_device
C++11
ranlux24
C++11
ranlux24_base
C++11
ranlux48
C++11
ranlux48_base
C++11
shuffle_order_engine
C++11
subtract_with_carry_engine
other
C++11
generate_canonical
C++11
seed_seq
discard_block_engine
C++11
discard_block_engine::discard_block_engine
member functions
C++11
discard_block_engine::base
C++11
discard_block_engine::discard
C++11
discard_block_engine::operator()
C++11
discard_block_engine::seed
static member functions
C++11
discard_block_engine::max
C++11
discard_block_engine::min
non-member functions
C++11
operator<<
C++11
operator>>
C++11
relational operators
Reference
<random>
discard_block_engine
base
public member function
<random>
std::
discard_block_engine
::base
const Engine& base() const noexcept;
Return base engine
Returns the base engine object.
Parameters
none
Return value
A constant reference to the base engine object.
Engine
is the type used as the first class template parameter (i.e. the type of engine being adapted).
Complexity
Constant.
See also
discard_block_engine::discard_block_engine
Construct discard-block engine
(public member function)