std::unordered_set::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::fwide

Defined in header <cwchar> int fwide( std::FILE* stream, int mode ); If mode > 0, attempts to make stream wide-oriented. If mode < 0, attempts to make stream byte-oriented. If mode==0, only queries the current orientation of the stream. If the orientation of the stream has already been decided (by executing output or by an earlier call to fwide), this function does nothing. Parameters stream - pointer to the C I/O stream to modify or query mode - integer

std::swap(std::stack)

template< class T, class Container > void swap( stack<T,Container>& lhs, stack<T,Container>& rhs ); Specializes the std::swap algorithm for std::stack. Swaps the contents of lhs and rhs. Calls lhs.swap(rhs). Parameters lhs, rhs - containers whose contents to swap Return value (none). Complexity Same as swapping the underlying container. Exceptions noexcept specification: noexcept(noexcept(lhs.swap(rhs))) (since C++17) See

std::char_traits::assign

static void assign( char_type& r, const char_type& a ); (1) static char_type* assign( char_type* p, std::size_t count, char_type a ); (2) Assigns a character. 1) Assigns character a to character r. 2) Assigns character a to each character in count characters in the character sequence pointed to by p. Parameters a - character value to assign r - character to assign to p - pointer to a character sequence to assign to count - the length of the char

std::type_index::hash_code

size_t hash_code() const; (since C++11) Returns the hash code of the associated std::type_info object. Equivalent to calling type_info::hash_code directly. Parameters (none). Return value The hash code of the associated type_info object. Exceptions (none) (until C++14) noexcept specification: noexcept (since C++14) Example See also std::hash<std::type_index> (C++11) hash support for std::type_index (class template specialization)

operators (std::bitset)

bool operator==( const bitset<N>& rhs ) const; (1) bool operator!=( const bitset<N>& rhs ) const; (2) 1) Returns true if all of the bits in *this and rhs are equal. 2) Returns true if any of the bits in *this and rhs are not equal. Parameters rhs - bitset to compare Return value 1) true if the value of each bit in *this equals the value of the corresponding bit in rhs, otherwise false. 2) true if !(*this == rhs), otherwise false. Example Compa

std::ios_base::ios_base

(1) private: ios_base( const ios_base& ); (until C++11) public: ios_base( const ios_base& ) = delete; (since C++11) protected: ios_base(); (2) 1) The copy constuctor is deleted: streams are not copyable. 2) The default constructor is protected: only derived classes may construct std::ios_base. The internal state is undefined after the construction. The derived class must call basic_ios::init() to complete initialization before first use or before destructor, otherwis

std::list::unique

void unique(); (1) template< class BinaryPredicate > void unique( BinaryPredicate p ); (2) Removes all consecutive duplicate elements from the container. Only the first element in each group of equal elements is left. The first version uses operator== to compare the elements, the second version uses the given binary predicate p. Parameters p - binary predicate which returns ​true if the elements should be treated as equal. The signature of the predicate function shou

std::underflow_error

Defined in header <stdexcept> class underflow_error; Defines a type of object to be thrown as exception. It may be used to report arithmetic underflow errors (that is, situations where the result of a computation is a subnormal floating-point value). The standard library components do not throw this exception (mathematical functions report underflow errors as specified in math_errhandling). Third-party libraries, however, use this. For example, boost.math throws std::underf

std::experimental::bad_array_length

After reviewing national body comments to n3690, arrays of runtime bound and the dynarray library component was voted out from C++14 working paper into a separate Technical Specification. This class is not a part of the draft C++14 as of n3797 Defined in header <experimental/new> class bad_array_length : public std::bad_alloc; std::bad_array_length is the type of the object thrown as exceptions by the constructors of arrays of runtime bound and objects of type std: