std::flush

Defined in header <ostream> template< class CharT, class Traits > std::basic_ostream<CharT, Traits>& flush( std::basic_ostream<CharT, Traits>& os ); Flushes the output sequence os as if by calling os.flush(). This is an output-only I/O manipulator, it may be called with an expression such as out << std::flush for any out of type std::basic_ostream. Notes This manipulator may be used to produce an incomplete line of output immediately, e.g.

Logical operators

Returns the result of a boolean operation. Operator name Syntax Over​load​able Prototype examples (for class T) Inside class definition Outside class definition negation not a !a. Yes bool T::operator!() const; bool operator!(const T &a); AND a and b a && b. Yes bool T::operator&&(const T2 &b) const; bool operator&&(const T &a, const T2 &b); inclusive OR a or b a || b. Yes bool T::operator||(const T2 &b) const; bo

std::chrono::duration_cast

template <class ToDuration, class Rep, class Period> constexpr ToDuration duration_cast(const duration<Rep,Period>& d); (since C++11) Converts a std::chrono::duration to a duration of different type ToDuration. No implicit conversions are used. Multiplications and divisions are avoided where possible, if it is known at compile time that one or more parameters are 1. Computations are done in the widest type available and converted, as if by static_cast, to the result type

LC_ALL

Defined in header <clocale> #define LC_ALL /*implementation defined*/ #define LC_COLLATE /*implementation defined*/ #define LC_CTYPE /*implementation defined*/ #define LC_MONETARY /*implementation defined*/ #define LC_NUMERIC /*implementation defined*/ #define LC_TIME /*implementation defined*/ Each of the above macro constants expand to integer constant expressions with distinct values that are suitable for use as the first argum

std::messages

Defined in header <locale> template< class CharT > class messages; Class template std::messages is a standard locale facet that encapsulates retrieval of strings from message catalogs, such as the ones provided by GNU gettext or by POSIX catgets. The source of the messages is implementation-defined. Inheritance diagram. Two standalone (locale-independent) specializations are provided by the standard library: Defined in header <locale> std::messages<

std::printf

Defined in header <cstdio> int printf( const char* format, ... ); (1) int fprintf( std::FILE* stream, const char* format, ... ); (2) int sprintf( char* buffer, const char* format, ... ); (3) int snprintf( char* buffer, std::size_t buf_size, const char* format, ... ); (4) (since C++11) Loads the data from the given locations, converts them to character string equivalents and writes the results to a variety of sinks. 1) Writes the results to stdout. 2) Wri

ctgmath

This header was originally in the C standard library as <tgmath.h>. This header is part of the numeric library. Includes <ccomplex> <cmath>

std::is_abstract

Defined in header <type_traits> template< class T > struct is_abstract; (since C++11) If T is an abstract class (that is, a non-union class that declares or inherits at least one pure virtual function), provides the member constant value equal true. For any other type, value is false. If T is a non-union class type, T shall be a complete type; otherwise, the behavior is undefined. Template parameters T - a type to check Helper variable template templa

std::list::splice

void splice( const_iterator pos, list& other ); (1) void splice( const_iterator pos, list&& other ); (1) (since C++11) void splice( const_iterator pos, list& other, const_iterator it ); (2) void splice( const_iterator pos, list&& other, const_iterator it ); (2) (since C++11) void splice( const_iterator pos, list& other, const_iterator first, const_iterator last); (3) void splice( const_iterator pos, list&& other,

std::shared_timed_mutex

Defined in header <shared_mutex> class shared_timed_mutex; (since C++14) The shared_timed_mutex class is a synchronization primitive that can be used to protect shared data from being simultaneously accessed by multiple threads. In contrast to other mutex types which facilitate exclusive access, a shared_timed_mutex has two levels of access: shared - several threads can share ownership of the same mutex. exclusive - only one thread can own the mutex. Shared mutexes ar