std::isupper(std::locale)

Defined in header <locale> template< class charT > bool isupper( charT ch, const locale& loc ); Checks if the given character is classified as an uppercase alphabetic character by the given locale's std::ctype facet. Parameters ch - character loc - locale Return value Returns true if the character is classified as uppercase, false otherwise. Possible implementation template< class charT > bool isupper( charT ch, const std::locale&

std::notify_all_at_thread_exit

Defined in header <condition_variable> void notify_all_at_thread_exit( std::condition_variable& cond, std::unique_lock<std::mutex> lk ); (since C++11) notify_all_at_thread_exit provides a mechanism to notify other threads that a given thread has completely finished, including destroying all thread_local objects. It operates as follows: Ownership of the previously acquired lock lk is transferred to internal storage. The execution

std::setw

Defined in header <iomanip> /*unspecified*/ setw( int n ); When used in an expression out << setw(n) or in >> setw(n), sets the width parameter of the stream out or in to exactly n. Parameters n - new value for width 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_istream<CharT, Traits>, then the expression str << setw(n) or

new

Usage new expression allocation functions as the name of operator-like functions

std::money_put

Defined in header <locale> template< class CharT, class OutputIt = std::ostreambuf_iterator<CharT> > class money_put; Class std::money_put encapsulates the rules for formatting monetary values as strings. The standard I/O manipulator std::put_money uses the std::money_put facet of the I/O stream's locale. Inheritance diagram. Type requirements - InputIt must meet the requirements of InputIterator. Specializations Two standalone (locale-i

std::memcmp

Defined in header <cstring> int memcmp( const void* lhs, const void* rhs, std::size_t count ); Reinterprets the objects pointed to by lhs and rhs as arrays of unsigned char and compares the first count characters of these arrays. The comparison is done lexicographically. The sign of the result is the sign of the difference between the values of the first pair of bytes (both interpreted as unsigned char) that differ in the objects being compared. Parameters lhs, rhs -

Declarations

Declarations introduce (or re-introduce) names into the C++ program. Each kind of entity is declared differently. Definitions are declarations that are sufficient to use the entity identified by the name. A declaration is one of the following: Function declaration Template declaration Explicit template instantiation Explicit template specialization Namespace definition Linkage specification Attribute declaration (attr ;) (since C++11) Empty declaration (;) Block declaration (a

Reference declaration

Declares a named variable as a reference, that is, an alias to an already-existing object or function. Syntax A reference variable declaration is any simple declaration whose declarator has the form. & attr(optional) declarator (1) && attr(optional) declarator (2) (since C++11) 1) Lvalue reference declarator: the declaration S& D; declares D as an lvalue reference to the type determined by decl-specifier-seq S. 2) Rvalue reference declarator: the declaration S

std::nested_exception::nested_exception

nested_exception(); (1) (since C++11) nested_exception( const nested_exception& other ) = default; (2) (since C++11) Constructs new nested_exception object. 1) Default constructor. Stores an exception object obtained by calling std::current_exception() within the new nested_exception object. 2) Copy constructor. Initializes the object with the exception stored in other. Parameters other - nested exception to initialize the contents with Exceptions noexcept sp

std::swap(std::unordered_set)

template< class Key, class Hash, class KeyEqual, class Alloc > void swap( unordered_set<Key,Hash,KeyEqual,Alloc>& lhs, unordered_set<Key,Hash,KeyEqual,Alloc>& rhs ); (since C++11) Specializes the std::swap algorithm for std::unordered_set. Swaps the contents of lhs and rhs. Calls lhs.swap(rhs). Parameters lhs, rhs - containers whose contents to swap Return value (none). Complexity Constant. Exceptions noexcept specification: noe