std::lexicographical_compare

Defined in header <algorithm> template< class InputIt1, class InputIt2 > bool lexicographical_compare( InputIt1 first1, InputIt1 last1, InputIt2 first2, InputIt2 last2 ); (1) template< class InputIt1, class InputIt2, class Compare > bool lexicographical_compare( InputIt1 first1, InputIt1 last1, InputIt2 first2, InputIt2 last2, Compare comp ); (2) Checks if the first r

std::wstring_convert::from_bytes

Defined in header <locale> wide_string from_bytes( char byte ); (1) wide_string from_bytes( const char* ptr ); (2) wide_string from_bytes( const byte_string& str ); (3) wide_string from_bytes( const char* first, const char* last); (4) Performs multibyte to wide conversion, using the codecvt facet supplied at construction. 1) Converts byte as if it was a string of length 1 to wide_string. 2) Converts the null-terminated multibyte character sequence begi

std::mbstowcs

Defined in header <cstdlib> std::size_t mbstowcs( wchar_t* dst, const char* src, std::size_t len); Converts a multibyte character string from the array whose first element is pointed to by src to its wide character representation. Converted characters are stored in the successive elements of the array pointed to by dst. No more than len wide characters are written to the destination array. Each character is converted as if by a call to std::mbtowc, except that the mbtowc co

std::tuple

Defined in header <tuple> template< class... Types > class tuple; (since C++11) Class template std::tuple is a fixed-size collection of heterogeneous values. It is a generalization of std::pair. Template parameters Types... - the types of the elements that the tuple stores. Empty list is supported. Member functions (constructor) constructs a new tuple (public member function) operator= assigns the contents of one tuple to another (public member

std::allocator_arg

Defined in header <memory> constexpr std::allocator_arg_t allocator_arg = std::allocator_arg_t(); (since C++11) std::allocator_arg is a constant of type std::allocator_arg_t used to disambiguate, at call site, the overloads of the constructors and member functions of allocator-aware objects, such as std::tuple, std::function, std::promise, and std::packaged_task. See also allocator_arg_t (C++11) tag type used to select allocator-aware constructor overloads (class)

std::result_of

Defined in header <type_traits> template< class > class result_of; // undefined template< class F, class... ArgTypes > class result_of<F(ArgTypes...)>; (since C++11) Deduces the return type of a function call expression at compile time. F must be a callable type, reference to function, or reference to callable type. Invoking F with ArgTypes... must be a well-formed expression (since C++11) F and all types in ArgTypes can be any complete type, array of

std::uninitialized_copy_n

Defined in header <memory> template< class InputIt, class Size, class ForwardIt > ForwardIt uninitialized_copy_n( InputIt first, Size count, ForwardIt d_first); (since C++11) Copies count elements from a range beginning at first to an uninitialized memory area beginning at d_first as if by. for ( ; n > 0; ++d_first, (void) ++first, --n) ::new (static_cast<void*>(std::addressof(*d_first))) typename iterator_traits<ForwardIterator>::value_type(*f

std::scalbn

Defined in header <cmath> float scalbn( float x, int exp ); (1) (since C++11) double scalbn( double x, int exp ); (2) (since C++11) long double scalbn( long double x, int exp ); (3) (since C++11) double scalbn( Integral x, int exp ); (4) (since C++11) float scalbln( float x, long exp ); (5) (since C++11) double scalbln( double x, long exp ); (6) (since C++11) long double scalbln( long double x, long exp ); (7) (sin

std::generate_n

Defined in header <algorithm> template< class OutputIt, class Size, class Generator > void generate_n( OutputIt first, Size count, Generator g ); (until C++11) template< class OutputIt, class Size, class Generator > OutputIt generate_n( OutputIt first, Size count, Generator g ); (since C++11) Assigns values, generated by given function object g, to the first count elements in the range beginning at first, if count>0. Does nothing otherwise. Parameters

future

This header is part of the thread support library. Classes promise (C++11) stores a value for asynchronous retrieval (class template) packaged_task (C++11) packages a function to store its return value for asynchronous retrieval (class template) future (C++11) waits for a value that is set asynchronously (class template) shared_future (C++11) waits for a value (possibly referenced by other futures) that is set asynchronously (class template) launch (C++11)