std::basic_fstream::rdbuf

std::basic_filebuf<CharT, Traits>* rdbuf() const; (since C++11) Returns pointer to the underlying raw file device object. Parameters (none). Return value Pointer to the underlying raw file device. Example

std::extent

Defined in header <type_traits> template< class T, unsigned N = 0> struct extent; (since C++11) If T is an array type, provides the member constant value equal to the number of elements along the Nth dimension of the array, if N is in [0, std::rank<T>::value). For any other type, or if T is array of unknown bound along its first dimension and N is 0, value is 0. Helper variable template template< class T, unsigned N = 0 > constexpr std::size_t extent

valarray

This header is part of the numeric library. Classes valarray numeric arrays and array slices (class template) slice BLAS-like slice of a valarray: starting index, length, stride (class) slice_array proxy to a subset of a valarray after applying a slice (class template) gslice generalized slice of a valarray: starting index, set of lengths, set of strides (class) gslice_array proxy to a subset of a valarray after applying a gslice (class template) mask_array proxy

std::fpos::state

State state() const; (1) void state( State st ); (2) Manages the file position state. 1) Returns the value of the file position state 2) Replaces the file position state with the value of st. For the specializations of std::fpos that are used in the standard library, State is always std::mbstate_t. Parameters st - new value for the state Return value 1) the current value of the fpos state 2) (none) Example #include <iostream> #include <sstream> #

std::unordered_map::erase

iterator erase( const_iterator pos ); (1) (since C++11) iterator erase( const_iterator first, const_iterator last ); (2) (since C++11) size_type erase( const key_type& key ); (3) (since C++11) Removes specified elements from the container. 1) Removes the element at pos. 2) Removes the elements in the range [first; last), which must be a valid range in *this. 3) Removes the element (if one exists) with the key equivalent to key. References and iterators to the erased e

operators (std::valarray)

Defined in header <valarray> template <class T> std::valarray<T> operator+ (const std::valarray<T>& lhs, const std::valarray<T>& rhs); template <class T> std::valarray<T> operator- (const std::valarray<T>& lhs, const std::valarray<T>& rhs); template <class T> std::valarray<T> operator* (const std::valarray<T>& lhs, const std::valarray<T>& rhs); template <class T> std::valarray<

std::basic_string::basic_string

(1) explicit basic_string( const Allocator& alloc = Allocator() ); (until C++14) basic_string() : basic_string( Allocator() ) {} explicit basic_string( const Allocator& alloc ); (since C++14) basic_string( size_type count, CharT ch, const Allocator& alloc = Allocator() ); (2) basic_string( const basic_string& other, size_type pos, size_type count = std::basic_string::npos, const Allocato

std::atan2

Defined in header <cmath> float atan2( float y, float x ); (1) double atan2( double y, double x ); (2) long double atan2( long double y, long double x ); (3) Promoted atan2( Arithmetic1 y, Arithmetic2 x ); (4) (since C++11) Computes the arc tangent of y/x using the signs of arguments to determine the correct quadrant. 4) A set of overloads or a function template for all combinations of arguments of arithmetic type not covered by 1-3). If any

std::discard_block_engine::seed

void seed(); (1) (since C++11) void seed( result_type value ); (2) (since C++11) template< class Sseq > void seed( Sseq& seq ); (3) (since C++11) Reinitializes the internal state of the underlying engine using a new seed value. 1) Seeds the underlying engine with the default seed value. Effectively calls e.seed(), where e is the underlying engine. 2) Seeds the underlying engine with the seed value s. Effectively calls e.seed(value), where e is the underlying eng

std::linear_congruential_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. Parameters z - integer value specifying the number of times to advance the state by Return value (none). Complexity See also operator() advances the engine's state and returns the generated value (public member function)