std::minmax

Defined in header <algorithm> (1) template< class T > std::pair<const T&,const T&> minmax( const T& a, const T& b ); (since C++11) (until C++14) template< class T > constexpr std::pair<const T&,const T&> minmax( const T& a, const T& b ); (since C++14) (2) template< class T, class Compare > std::pair<const T&,const T&> minmax( const T& a, const T& b,

std::min

Defined in header <algorithm> (1) template< class T > const T& min( const T& a, const T& b ); (until C++14) template< class T > constexpr const T& min( const T& a, const T& b ); (since C++14) (2) template< class T, class Compare > const T& min( const T& a, const T& b, Compare comp ); (until C++14) template< class T, class Compare > constexpr const T& min( const T& a, const T& b, Compare co

std::messages_byname

Defined in header <locale> template< class CharT > class messages_byname : public std::messages<CharT>; std::messages_byname is a std::messages facet which encapsulates retrieval of strings from message catalogs of the locale specified at its construction. Two specializations are provided by the standard library. Defined in header <locale> std::messages_byname<char> narrow/multibyte message catalog access std::messages_byname<wchar_t>

std::messages_base

Defined in header <locale> class messages_base; The class std::messages_base provides a type definition which is inherited and used by the std::messages facets. Member types Member type Definition catalog /*unspecified signed integer type*/ Notes catalog was erroneously specified as int in C++11, this was corrected in LWG issue #2028 and included in C++14. See also messages implements retrieval of strings from message catalogs (class template)

std::messages::open

Defined in header <locale> public: catalog open( const std::basic_string<char>& name, const std::locale& loc ) const; (1) protected: virtual catalog do_open( const std::basic_string<char>& name, const std::locale& loc ) const; (2) 1) Public member function, calls the protected virtual member function do_open of the most derived class. 2) Obtains a value of type catalog (inherited from std::messages_base), which can be passed to get() to ret

std::messages::messages

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

std::messages::get

Defined in header <locale> public: string_type get( catalog cat, int set, int msgid, const string_type& dfault ) const; (1) protected: virtual string_type do_get( catalog cat, int set, int msgid, const string_type& dfault ) const; (2) 1) Public member function, calls the protected virtual member function do_get of the most derived class. 2) Obtains a message from the open message catalog cat using the values set, msgid and dfault in implementation-defined mann

std::messages::close

Defined in header <locale> public: void close( catalog c ) const; (1) protected: virtual void do_close( catalog c ) const; (2) 1) public member function, calls the protected virtual member function do_close of the most derived class. 2) Releases the implementation-defined resources associated with an open catalog that is designated by the value c of type catalog (inherited from std::messages_base), which was obtained from open(). Parameters c - a valid open ca

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::mersenne_twister_engine::seed

void seed( result_type value = default_seed ); (1) (since C++11) template< class Sseq > void seed( Sseq& seq ); (2) (since C++11) Reinitializes the internal state of the random-number engine using new seed value. Parameters value - seed value to use in the initialization of the internal state seq - seed sequence to use in the initialization of the internal state Exceptions (none). Complexity Example #include <iostream> #include <rand