std::get(std::pair)

Defined in header <utility> (1) template< size_t N, class T1, class T2 > typename std::tuple_element<I, std::pair<T1,T2> >::type& get( pair<T1, T2>& p ); (since C++11) (until C++14) template< size_t N, class T1, class T2 > constexpr std::tuple_element_t<I, std::pair<T1,T2> >& get( pair<T1, T2>& p ); (since C++14) (2) template< size_t N, class T1, class T2 > const typename std::tuple_element

std::unordered_set::end(int)

local_iterator end( size_type n ); (since C++11) const_local_iterator end( size_type n ) const; (since C++11) const_local_iterator cend( size_type n ) const; (since C++11) Returns an iterator to the element following the last element of the bucket with index n. . This element acts as a placeholder, attempting to access it results in undefined behavior. Parameters n - the index of the bucket to access Return value iterator to the element following the last eleme

std::basic_string::find_first_of

size_type find_first_of( const basic_string& str, size_type pos = 0 ) const; (1) size_type find_first_of( const CharT* s, size_type pos, size_type count ) const; (2) size_type find_first_of( const CharT* s, size_type pos = 0 ) const; (3) size_type find_first_of( CharT ch, size_type pos = 0 ) const; (4) Finds the first character equal to one of the characters in the given character sequence. The search considers only the interval [pos, size()). If the character is n

Fundamental types

(See also type for type system overview and the list of type-related utilities that are provided by the C++ library). Void type void - type with an empty set of values. It is an incomplete type that cannot be completed (consequently, objects of type void are disallowed). There are no arrays of void, nor references to void. However, pointers to void and functions returning type void (procedures in other languages) are permitted. std::nullptr_t Boolean type bool - type, capable of

std::equal_range

Defined in header <algorithm> template< class ForwardIt, class T > std::pair<ForwardIt,ForwardIt> equal_range( ForwardIt first, ForwardIt last, const T& value ); (1) template< class ForwardIt, class T, class Compare > std::pair<ForwardIt,ForwardIt> equal_range( ForwardIt first, ForwardIt last, const T& value, Compare comp ); (2) Returns a range containing all elements equivalent to value in th

std::basic_ostringstream::swap

void swap( basic_ostringstream& other ); (since C++11) Exchanges the state of the stream with those of other. This is done by callingbasic_ostream<CharT, Traits>::swap(other) and rdbuf()->swap(*other.rdbuf()). Parameters other - stream to exchange the state with Return value (none). Example See also operator= (C++11) moves the string stream (public member function) swap (C++11) swaps two basic_stringbuf objects (public member function of st

Overload resolution

In order to compile a function call, the compiler must first perform name lookup, which, for functions, may involve argument-dependent lookup, and for function templates may be followed by template argument deduction. If these steps produce more than one candidate function, then overload resolution is performed to select the function that will actually be called. In general, the candidate function whose parameters match the arguments most closely is the one that is called. Details Before ove

std::codecvt::in

Defined in header <locale> public: result in( StateT& state, const ExternT* from, const ExternT* from_end, const ExternT*& from_next, InternT* to, InternT* to_end, InternT*& to_next ) const; (1) protected: virtual result do_in( StateT& state, const ExternT* from, const ExternT* from_end, const ExternT*& from_next,

std::ispunct(std::locale)

Defined in header <locale> template< class charT > bool ispunct( charT ch, const locale& loc ); Checks if the given character is classified as an punctuation character by the given locale's std::ctype facet. Parameters ch - character loc - locale Return value Returns true if the character is classified as punctuation, false otherwise. Possible implementation template< class charT > bool ispunct( charT ch, const std::locale& loc )

cstring

This header was originally in the C standard library as <string.h>. This header is for C-style null-terminated byte strings. Macros NULL implementation-defined null pointer constant (macro constant) Types size_t unsigned integer type returned by the sizeof operator (typedef) Functions String manipulation strcpy copies one string to another (function) strncpy copies a certain amount of characters from one string to another (function) strcat concat