std::basic_streambuf::setg

void setg( char_type* gbeg, char_type* gcurr, char_type* gend ); Sets the values of the pointers defining the get area. Specifically, after the call eback() == gbeg, gptr() == gcurr, egptr() == gend. Parameters gbeg - pointer to the new beginning of the get area gcurr - pointer to the new current character (get pointer) in the get area gend - pointer to the new end of the get area Return value (none). Example #include <iostream> #include <sstream&

std::map::end

iterator end(); const_iterator end() const; const_iterator cend() const; (since C++11) Returns an iterator to the element following the last element of the container. This element acts as a placeholder; attempting to access it results in undefined behavior. Parameters (none). Return value Iterator to the element following the last element. Exceptions (none) (until C++11) noexcept specification: noexcept (since C++11) Complexity Constant. See also begin

std::swap(std::valarray)

template< class T > void swap( valarray<T> &lhs, valarray<T> &rhs ); Specializes the std::swap algorithm for std::valarray. Swaps the contents of lhs and rhs. Calls lhs.swap(rhs). Parameters lhs, rhs - valarrays whose contents to swap Return value (none). Complexity Constant. See also swap swaps with another valarray (public member function)

std::unordered_multiset::max_load_factor

float max_load_factor() const; (1) (since C++11) void max_load_factor( float ml ); (2) (since C++11) Manages the maximum load factor (number of elements per bucket). The container automatically increases the number of buckets if the load factor exceeds this threshold. 1) Returns current maximum load factor. 2) Sets the maximum load factor to ml. Parameters ml - new maximum load factor setting Return value 1) current maximum load factor. 2) none. Complexity Constan

std::logb

Defined in header <cmath> float logb( float arg ); (1) (since C++11) double logb( double arg ); (2) (since C++11) long double logb( long double arg ); (3) (since C++11) double logb( Integral arg ); (4) (since C++11) 1-3) Extracts the value of the unbiased radix-independent exponent from the floating-point argument arg, and returns it as a floating-point value. 4) A set of overloads or a function template accepting an argument of any integ

std::setfill

Defined in header <iomanip> template< class CharT > /*unspecified*/ setfill( CharT c ); When used in an expression out << setfill(c) sets the fill character of the stream out to c. Parameters c - new value for the fill character Return value Returns an object of unspecified type such that if out is the name of an output stream of type std::basic_ostream<CharT, Traits>, then the expression out << setfill(n) behaves as if the following co

std::unordered_map::bucket_count

size_type bucket_count() const; (since C++11) Returns the number of buckets in the container. Parameters (none). Return value The number of buckets in the container. Complexity Constant. See also bucket_size returns the number of elements in specific bucket (public member function) max_bucket_count returns the maximum number of buckets (public member function)

std::islessequal

Defined in header <cmath> bool islessequal( float x, float y ); (1) (since C++11) bool islessequal( double x, double y ); (2) (since C++11) bool islessequal( long double x, long double y ); (3) (since C++11) bool islessequal( Arithmetic x, Arithmetic y ); (4) (since C++11) 1-3) Determines if the floating point number x is less than or equal to the floating-point number y, without setting floating-point exceptions. 4) A set of overloads or a function temp

operators (std::shuffle_order_engine)

template< class Engine, size_t k > bool operator==( const shuffle_order_engine<Engine,k>& lhs, const shuffle_order_engine<Engine,k>& rhs ); (1) (since C++11) template< class Engine, size_t k > bool operator!=( const shuffle_order_engine<Engine,k>& lhs, const shuffle_order_engine<Engine,k>& rhs ); (2) (since C++11) Compares two pseudo-random number engine adaptors. Two engine adaptors are equal, i

std::setiosflags

Defined in header <iomanip> /*unspecified*/ setiosflags( std::ios_base::fmtflags mask ); When used in an expression out << setiosflags(mask) or in >> setiosflags(mask), sets all format flags of the stream out or in as specified by the mask. Parameters mask - bitmask of the flags to set Return value Returns an object of unspecified type such that if str is the name of an output stream of type std::basic_ostream<CharT, Traits> or std::basic_ist