std::istrstream

Defined in header <strstream> class istrstream : public std::istream (deprecated) The class istrstream implements input operations on array-backed streams. It essentially wraps a raw array I/O device implementation (std::strstreambuf) into the higher-level interface of std::basic_istream. The typical implementation of istrstream holds only one non-derived data member: an object of type std::strstreambuf. Notes istrstream has been deprecated since C++98, std::istringstrea

std::codecvt_utf8_utf16

Defined in header <codecvt> template< class Elem, unsigned long Maxcode = 0x10ffff, std::codecvt_mode Mode = (std::codecvt_mode)0 > class codecvt_utf8_utf16 : public std::codecvt<Elem, char, std::mbstate_t>; std::codecvt_utf8_utf16 is a std::codecvt facet which encapsulates conversion between a UTF-8 encoded byte string and UTF-16 encoded character string. If Elem is a 32-bit type, one UTF-16 codepoint will be stored in each 32-bit character

extern

Usage static storage duration with external linkage specifier language linkage specification explicit template instantiation declaration (or "extern template")

std::copy

Defined in header <algorithm> template< class InputIt, class OutputIt > OutputIt copy( InputIt first, InputIt last, OutputIt d_first ); (1) template< class InputIt, class OutputIt, class UnaryPredicate > OutputIt copy_if( InputIt first, InputIt last, OutputIt d_first, UnaryPredicate pred ); (2) (since C++11) Copies the elements in the range, defined by [first, last), to another range beginning at d_first. The second func

std::setbuf

Defined in header <cstdio> void setbuf( std::FILE* stream, char* buffer ); Sets the internal buffer to use for I/O operations performed on the C stream stream. If buffer is not null, equivalent to std::setvbuf(stream, buffer, _IOFBF, BUFSIZ). If buffer is null, equivalent to std::setvbuf(stream, NULL, _IONBF, 0), which turns off buffering. Parameters stream - the file stream to set the buffer to. buffer - pointer to a buffer for the stream to use. If NULL is s

std::system_error::system_error

system_error( std::error_code ec ); (1) (since C++11) system_error( std::error_code ec, const std::string& what_arg ); (2) (since C++11) system_error( std::error_code ec, const char* what_arg ); (2) (since C++11) system_error( int ev, const std::error_category& ecat ); (3) (since C++11) system_error( int ev, const std::error_category& ecat, const std::string& what_arg); (4) (since C++11) system_error( int ev, const std::error_category

noexcept specifier

Specifies whether a function will throw exceptions or not. Syntax noexcept (1) noexcept(expression) (2) 1) Same as noexcept ( true ) 2) If expression evaluates to true, the function is declared to not throw any exceptions. expression - constant expression, contextually convertible to bool Explanation The noexcept-specification (just like dynamic exception specification) can appear as a part of a lambda declarator or a top-level function declarator when declaring f

Null-terminated wide strings

A null-terminated wide string is a sequence of valid wide characters, ending with a null character. Functions Character classification Defined in header <cwctype> iswalnum checks if a wide character is alphanumeric (function) iswalpha checks if a wide character is alphabetic (function) iswlower checks if a wide character is lowercase (function) iswupper checks if a wide character is an uppercase character (function) iswdigit checks if a wide character i

noexcept

Usage noexcept operator noexcept specifier

std::shared_timed_mutex::try_lock_for

template< class Rep, class Period > bool try_lock_for( const std::chrono::duration<Rep,Period>& timeout_duration ); (since C++14) Tries to lock the mutex. Blocks until specified timeout_duration has elapsed or the lock is acquired, whichever comes first. On successful lock acquisition returns true, otherwise returns false. If timeout_duration is less or equal timeout_duration.zero(), the function behaves like try_lock(). A steady clock is used to measure the duration. Th