std::basic_string::swap

void swap( basic_string& other ); Exchanges the contents of the string with those of other. All iterators and references may be invalidated. Parameters other - string to exchange the contents with Return value (none). Exceptions noexcept specification: noexcept(std::allocator_traits<Allocator>::propagate_on_container_swap::value|| std::allocator_traits<Allocator>::is_always_equal::value) (since C++17) Example #include <string> #include &

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::basic_streambuf::sbumpc

int_type sbumpc(); Reads one character and advances the input sequence by one character. If the input sequence read position is not available, returns uflow(). Otherwise returns Traits::to_int_type(*gptr()). Parameters (none). Return value The value of the character pointed to by the get pointer, or Traits::eof() if the read position is not available. Example See also sgetc reads one character from the input sequence without advancing the sequence (public member function

std::uninitialized_fill

Defined in header <memory> template< class ForwardIt, class T > void uninitialized_fill( ForwardIt first, ForwardIt last, const T& value ); Copies the given value to an uninitialized memory area, defined by the range [first, last) as if by. for (; first != last; ++first) ::new (static_cast<void*>(std::addressof(*first))) typename iterator_traits<ForwardIterator>::value_type(x); If an exception is thrown during the initialization, the function h

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

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::isprint

Defined in header <cctype> int isprint( int ch ); Checks if is a printable character as classified by the currently installed C locale. In the default, "C" locale, the following characters are printable: digits (0123456789) uppercase letters (ABCDEFGHIJKLMNOPQRSTUVWXYZ) lowercase letters (abcdefghijklmnopqrstuvwxyz) punctuation characters (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~) space () The behavior is undefined if the value of ch is not representable as un

std::regex_traits::translate_nocase

CharT translate_nocase(CharT c) const; Obtains the comparison key for the character c, such that all characters that are equivalent to this character in the imbued locale, ignoring the case differences, if any, produce the same key. When the regex library needs to match two characters c1 and c2 and the flag std::regex_constants::icase is true, it executes regex_traits<>::translate_nocase(c1) == regex_traits<>::translate_nocase(c2). Standard library specializations of std::re