std::future_status

Defined in header <future> enum class future_status { ready, timeout, deferred }; (since C++11) Specifies state of a future as returned by wait_for and wait_until functions of std::future and std::shared_future. Constant Explanation deferred the shared state contains a deferred function, so the result will be computed only when explicitly requested ready the shared state is ready timeout the shared state did not become ready before specified timeo

std::showpoint

Defined in header <ios> std::ios_base& showpoint( std::ios_base& str ); (1) std::ios_base& noshowpoint( std::ios_base& str ); (2) Enables or disables the unconditional inclusion of the decimal point character in floating-point output. Has no effect on input. 1) enables the showpoint flag in the stream str as if by calling str.setf(std::ios_base::showpoint). 2) disables the showpoint flag in the stream str as if by calling str.unsetf(std::ios_base::show

not

Usage alternative operators: as an alternative for !

std::time_put::time_put

Defined in header <locale> explicit time_put( std::size_t refs = 0 ); Creates a std::time_put facet and forwards the starting reference count refs to the base class constructor, locale::facet::facet(). Parameters refs - starting reference count

std::basic_streambuf::basic_streambuf

protected: basic_streambuf(); (1) protected: basic_streambuf(const basic_streambuf& rhs); (2) (since C++11) 1) Constructs the basic_streambuf object, initializes the six pointer members (eback(), gptr(), egptr(), pbase(), pptr(), and epptr()) to null pointer values, and the locale member to std::locale(), a copy of the global C++ locale at the time of construction. 2) Constructs a copy of rhs, initializing the six pointers and the locale object with the copies of the values

std::thread::id

Defined in header <thread> class thread::id; (since C++11) The class thread::id is a lightweight, trivially copyable class that serves as a unique identifier of std::thread objects. Instances of this class may also hold the special distinct value that does not represent any thread. Once a thread has finished, the value of std::thread::id may be reused by another thread. This class is designed for use as key in associative containers, both ordered and unordered. Member fun

std::basic_fstream::open

void open( const char *filename, ios_base::openmode mode = ios_base::in|ios_base::out ); (1) void open( const std::string &filename, ios_base::openmode mode = ios_base::in|ios_base::out ); (2) (since C++11) Opens and associates the file with name filename with the file stream. Calls setstate(failbit) on failure. Calls clear() on success. (since C++11) 1) Effectively calls rdbuf()->open(filename, mode). (see std::bas

std::basic_ios::copyfmt

basic_ios& copyfmt(const basic_ios& other); Copies the state of the stream other into *this. This is done in the following sequence: 1) Calls every callback registered by register_callback() passing erase_event as parameter 2) Copies all member objects from other to *this except for rdstate(), the exception mask, and rdbuf(). In particular, makes copies of the locale, the formatting flags, the contents of the arrays std::ios_base::iword and std::ios_base::pword (but not the iw

std::basic_ios::exceptions

std::ios_base::iostate exceptions() const; (1) void exceptions( std::ios_base::iostate except ); (2) Gets and sets the exception mask of the stream. The exception mask determines the error states, on occurrence of which the stream throws exception of type failure. 1) Returns the exception mask. 2) Sets the exception mask to except. Parameters except - exception mask Return value 1) The current exception mask. 2) (none) Example #include <iostream> #incl

operators (std::student_t_distribution)

template< class ResultType > bool operator==( const student_t_distribution<ResultType>& lhs, const student_t_distribution<ResultType>& rhs ); (1) template< class ResultType > bool operator!=( const student_t_distribution<ResultType>& lhs, const student_t_distribution<ResultType>& rhs ); (2) Compares two distribution objects. Two distribution objects are equal when parameter values and internal st