std::independent_bits_engine::discard

void discard( unsigned long long z ); (since C++11) Advances the internal state by z times. Equivalent to calling operator() z times and discarding the result. The state of the underlying engine may be advanced by more than z times. Parameters z - integer value specifying the number of times to advance the state by Return value (none). Exceptions (none). See also operator() advances the state of the underlying engine and returns the generated value (public membe

std::independent_bits_engine::base

const Engine& base() const; (since C++11) Returns the underlying engine. Parameters (none). Return value The underlying engine. Exceptions noexcept specification: noexcept

std::independent_bits_engine

Defined in header <random> template< class Engine, std::size_t W, class UIntType > class independent_bits_engine; (since C++11) independent_bits_engine is a random number engine adaptor that produces random numbers with different number of bits than that of the wrapped engine. Template parameters Engine - the type of the wrapped engine W - the number of bits the generated numbers should have UIntType - the type of the generated random

std::includes

Defined in header <algorithm> template< class InputIt1, class InputIt2 > bool includes( InputIt1 first1, InputIt1 last1, InputIt2 first2, InputIt2 last2 ); (1) template< class InputIt1, class InputIt2, class Compare > bool includes( InputIt1 first1, InputIt1 last1, InputIt2 first2, InputIt2 last2, Compare comp ); (2) Returns true if every element from the sorted range [first2, last2) is found within the sorted range [first1, l

std::imag(std::complex)

Defined in header <complex> template< class T > T imag( const complex<T>& z ); (1) (until C++14) template< class T > constexpr T imag( const complex<T>& z ); (1) (since C++14) long double imag( long double z ); (2) (since C++11) template< class DoubleOrIngeter > double imag( DoubleOrInteger z ); (3) (since C++11) float imag( float z ); (4) (since C++11) Returns the imaginary component of the complex number z, i

std::ilogb

Defined in header <cmath> int ilogb( float arg ); (1) (since C++11) int ilogb( double arg ); (2) (since C++11) int ilogb( long double arg ); (3) (since C++11) int ilogb( Integral arg ); (4) (since C++11) #define FP_ILOGB0 /*implementation-defined*/ (5) (since C++11) #define FP_ILOGBNAN /*implementation-defined*/ (6) (since C++11) 1-3) Extracts the value of the unbiased exponent from the floating-point argument a

std::ignore

Defined in header <tuple> const /*unspecified*/ ignore; (since C++11) An object of unspecified type such that any value can be assigned to it with no effect. Intended for use with std::tie when unpacking a std::tuple, as a placeholder for the arguments that are not used. Example unpack a pair returned by set.insert(), but only save the boolean. #include <iostream> #include <string> #include <set> #include <tuple> int main() { std::set<st

std::hypot

Defined in header <cmath> float hypot( float x, float y ); (1) (since C++11) double hypot( double x, double y ); (2) (since C++11) long double hypot( long double x, long double y ); (3) (since C++11) Promoted hypot( Arithmetic1 x, Arithmetic2 y ); (4) (since C++11) 1-3) Computes the square root of the sum of the squares of x and y, without undue overflow or underflow at intermediate stages of the computation. 4) A set of overloads or a func

std::has_virtual_destructor

Defined in header <type_traits> template< class T > struct has_virtual_destructor; (since C++11) If T is a type with a virtual destructor, provides the member constant value equal true. For any other type, value is false. If T is a non-union class type, T shall be a complete type; otherwise, the behavior is undefined. Helper variable template template< class T > constexpr bool has_virtual_destructor_v = has_virtual_destructor<T>::value; (since C+

std::has_facet

Defined in header <locale> template< class Facet > bool has_facet( const locale& loc ); Checks if the locale loc implements the facet Facet. Parameters loc - the locale object to query Return value Returns true if the facet Facet was installed in the locale loc, false otherwise. Exceptions (none) (until C++11) noexcept specification: noexcept (since C++11) Example #include <iostream> #include <locale> // minimal custom fa