std::isnan

Defined in header <cmath> bool isnan( float arg ); (1) (since C++11) bool isnan( double arg ); (2) (since C++11) bool isnan( long double arg ); (3) (since C++11) bool isnan( Integral arg ); (4) (since C++11) 1-3) Determines if the given floating point number arg is a not-a-number (NaN) value. 4) A set of overloads or a function template accepting the from argument of any integral type. Equivalent to (2) (the argument is cast to double). Parameters a

Scope

Each name that appears in a C++ program is only valid in some possibly discontiguous portion of the source code called its scope. Within a scope, unqualified name lookup can be used to associate the name with its declaration. Block scope The potential scope of a variable introduced by a declaration in a block (compound statement) begins at the point of declaration and ends at the end of the block. Actual scope is the same as potential scope unless there is a nested block with a declaration t

std::chrono::time_point::operators (operator-)

time_point& operator+=( const duration& d ); (1) (since C++11) time_point& operator-=( const duration& d ); (2) (since C++11) Modifies the time point by the given duration. 1) Applies the offset d to pt. Effectively, d is added to the internally stored duration d_ as d_ += d. 2) Applies the offset d to pt in negative direction. Effectively, d is subtracted from internally stored duration d_ as d_ -= d. Parameters d - a time offset to apply Return val

static_cast conversion

Converts between types using a combination of implicit and user-defined conversions. Syntax static_cast < new_type > ( expression ) Returns a value of type new_type. Explanation Only the following conversions can be done with static_cast, except when such conversions would cast away constness or volatility. 1) If a temporary object of type new_type can be declared and initialized with expression, as by new_type Temp(expression);, which may involve implicit conversions, a ca

std::stof

Defined in header <string> float stof( const std::string& str, std::size_t* pos = 0 ); float stof( const std::wstring& str, std::size_t* pos = 0 ); (1) (since C++11) double stod( const std::string& str, std::size_t* pos = 0 ); double stod( const std::wstring& str, std::size_t* pos = 0 ); (2) (since C++11) long double stold( const std::string& str, std::size_t* pos = 0 ); long double stold( const std::wstring& str, std::size

Localization library

The locale facility includes internationalization support for character classification and string collation, numeric, monetary, and date/time formatting and parsing, and message retrieval. Locale settings control the behavior of stream I/O, regular expression library, and other components of the C++ standard library. Locales Defined in header <locale> Locales and facets locale set of polymorphic facets that encapsulate cultural differences (class) use_facet obtains

std::inplace_merge

Defined in header <algorithm> template< class BidirIt > void inplace_merge( BidirIt first, BidirIt middle, BidirIt last ); (1) template< class BidirIt, class Compare> void inplace_merge( BidirIt first, BidirIt middle, BidirIt last, Compare comp ); (2) Merges two consecutive sorted ranges [first, middle) and [middle, last) into one sorted range [first, last). The order of equal elements is guaranteed to be preserved. The first version uses operator< to c

std::collate_byname

Defined in header <locale> template< class CharT > class collate_byname : public std::collate<CharT>; std::collate_byname is a std::collate facet which encapsulates locale-specific collation (comparison) and hashing of strings. Just like std::collate, it can be imbued in std::regex and applied, by means of std::locale::operator(), directly to all standard algorithms that expect a string comparison predicate. Two specializations are provided by the standard libra

std::input_iterator_tag

Defined in header <iterator> struct input_iterator_tag { }; struct output_iterator_tag { }; struct forward_iterator_tag : public input_iterator_tag { }; struct bidirectional_iterator_tag : public forward_iterator_tag { }; struct random_access_iterator_tag : public bidirectional_iterator_tag { }; Defines the category of an iterator. Each tag is an empty type and corresponds to one of the five iterator categories: input_iterator_tag corresponds to Inp

streambuf

This header is part of the Input/Output library. Classes basic_streambuf abstracts a raw device (class template) Typedefs streambuf basic_streambuf<char> wstreambuf basic_streambuf<wchar_t> Synopsis namespace std { template <class charT, class traits = char_traits<charT> > class basic_streambuf; typedef basic_streambuf<char> streambuf; typedef basic_streambuf<wchar_t> wstreambuf; } Class std::basic_streambuf t