std::this_thread::sleep_for

Defined in header <thread> template< class Rep, class Period > void sleep_for( const std::chrono::duration<Rep, Period>& sleep_duration ); (since C++11) Blocks the execution of the current thread for at least the specified sleep_duration. A steady clock is used to measure the duration. This function may block for longer than sleep_duration due to scheduling or resource contention delays. Parameters sleep_duration - time duration to sleep Return

std::strtok

Defined in header <cstring> char* strtok( char* str, const char* delim ); Finds the next token in a null-terminated byte string pointed to by str. The separator characters are identified by null-terminated byte string pointed to by delim. This function is designed to be called multiples times to obtain successive tokens from the same string. If str != NULL, the call is treated as the first call to strtok for this particular string. The function searches for the first chara

char16_t

Usage char16_t type: as the declaration of the type (since C++11)

std::put_money

Defined in header <iomanip> template< class MoneyT > /*unspecified*/ put_money( const MoneyT& mon, bool intl = false ); (since C++11) When used in an expression out << put_money(mon, intl), converts the monetary value mon to its character representation as specified by the std::money_put facet of the locale currently imbued in out. This function behaves as a FormattedOutputFunction. Parameters mon - a monetary value, either long double or basic_strin

std::recursive_mutex

Defined in header <mutex> class recursive_mutex; (since C++11) The recursive_mutex class is a synchronization primitive that can be used to protect shared data from being simultaneously accessed by multiple threads. recursive_mutex offers exclusive, recursive ownership semantics: A calling thread owns a recursive_mutex for a period of time that starts when it successfully calls either lock or try_lock. During this period, the thread may make additional calls to lock or try

std::function

Defined in header <functional> template< class > class function; /* undefined */ (since C++11) template< class R, class... Args > class function<R(Args...)> (since C++11) Class template std::function is a general-purpose polymorphic function wrapper. Instances of std::function can store, copy, and invoke any Callable target -- functions, lambda expressions, bind expressions, or other function objects, as well as pointers to member functions and point

std::iswalnum

Defined in header <cwctype> int iswalnum( std::wint_t ch ); Checks if the given wide character is an alphanumeric character, i.e. either a number (0123456789), an uppercase letter (ABCDEFGHIJKLMNOPQRSTUVWXYZ), a lowercase letter (abcdefghijklmnopqrstuvwxyz) or any alphanumeric character specific to the current locale. Parameters ch - wide character Return value Non-zero value if the wide character is a alphanumeric character, zero otherwise. Example #incl

std::basic_stringbuf::basic_stringbuf

explicit basic_stringbuf( std::ios_base::openmode which = std::ios_base::in | std::ios_base::out ); (1) explicit basic_stringbuf( const std::basic_string<CharT, traits, Allocator>& new_str, std::ios_base::openmode which = std::ios_base::in | std::ios_base::out ); (2) basic_stringbuf( const basic_stringbuf& rhs ) = delete; (3) (s

Phases of translation

The C++ source file is processed by the compiler as if the following phases take place, in this exact order: Phase 1 1) The individual bytes of the source code file are mapped (in implementation defined manner) to the characters of the basic source character set. In particular, OS-dependent end-of-line indicators are replaced by newline characters. The basic source character set consists of 96 characters: a) 5 whitespace characters (space, horizontal tab, vertical tab, form feed, new-line)

std::strstreambuf::strstreambuf

explicit strstreambuf( std::streamsize alsize = 0 ); (1) strstreambuf( void* (*palloc)(std::size_t), void (*pfree)(void*) ); (2) strstreambuf( char* gnext, std::streamsize n, char* pbeg = 0 ); (3) strstreambuf( signed char* gnext, std::streamsize n, signed char* pbeg = 0 ); (4) strstreambuf( unsigned char* gnext, std::streamsize n, unsigned char* pbeg = 0 ); (5) strstreambuf( const char* gnext, std::streamsize n ); (6) strstreambuf( const signed char* gnext,