std::complex::complex

primary template complex<T> complex( const T& re = T(), const T& im = T() ); (1) (until C++14) constexpr complex( const T& re = T(), const T& im = T() ); (1) (since C++14) complex( const complex& other ); (2) (until C++14) constexpr complex( const complex& other ); (2) (since C++14) template< class X > complex( const complex<X>& other); (3) (until C++14) template< class X > constexpr complex( const complex<

std::common_type(std::chrono::duration)

template <class Rep1, class Period1, class Rep2, class Period2> struct common_type<std::chrono::duration<Rep1, Period1>, std::chrono::duration<Rep2, Period2>> { typedef std::chrono::duration< typename std::common_type<Rep1, Rep2>::type, /*see note*/> type; }; (since C++11) Exposes the type named type, which is the common type of two std::chrono::durations. Note The period of the resulting duration is the greatest comm

std::common_type

Defined in header <type_traits> template< class... T > struct common_type; (since C++11) Determines the common type among all types T..., that is the type all T... can be implicitly converted to. For non-specialized std::common_type, the rules for determining the common type between every pair T1, T2 are exactly the rules for determining the return type of the ternary conditional operator in unevaluated context, with arbitrary first argument of type bool and with xval

std::common_type(std::chrono::time_point)

template <class Clock, class Duration1, class Duration2> struct common_type<std::chrono::time_point<Clock, Duration1>, std::chrono::time_point<Clock, Duration2>> { typedef std::chrono::time_point< Clock, typename std::common_type<Duration1, Duration2>::type> type; }; (since C++11) Exposes the type named type, which is the common type of two std::chrono::time_points. Notes The common type of two std::chrono::time_poin

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::collate::transform

Defined in header <locale> public: string_type transform( const CharT* low, const CharT* high ) const; (1) protected: virtual string_type do_transform( const CharT* low, const CharT* high ) const; (2) 1) Public member function, calls the protected virtual member function do_transform of the most derived class. 2) Converts the character sequence [low, high) to a string that, compared lexicographically (e.g. with operator< for strings) with the result of calling tr

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

std::collate::hash

Defined in header <locale> public: long hash( const CharT* beg, const CharT* end ) const; (1) protected: virtual long do_hash( const CharT* beg, const CharT* end ) const; (2) 1) Public member function, calls the protected virtual member function do_hash of the most derived class. 2) Converts the character sequence [beg, end) to an integer value that is equal to the hash obtained for all strings that collate equivalent in this locale (compare() returns ​0​). For two

std::collate

Defined in header <locale> template< class CharT > class collate; Class std::collate encapsulates locale-specific collation (comparison) and hashing of strings. This facet is used by std::basic_regex and can be applied, by means of std::locale::operator(), directly to all standard algorithms that expect a string comparison predicate. Inheritance diagram. Two standalone (locale-independent) specializations are provided by the standard library: Defined in header

std::collate::collate

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