short

Usage short type modifier

Name lookup

Name lookup is the procedure by which a name, when encountered in a program, is associated with the declaration that introduced it. For function names, name lookup can associate multiple declarations with the same name, and may obtain additional declarations from argument-dependent lookup. Template argument deduction may also apply, and the set of declarations is passed to overload resolution, which selects the declaration that will be used. Member access rules, if applicable, are considered on

std::basic_filebuf::close

std::basic_filebuf<CharT, Traits>* close(); If a put area exist (e.g. file was opened for writing), first calls overflow(Traits::eof()) to write all pending output to the file, including any unshift sequences. If the most recently called function, out of underflow(), overflow(), seekpos(), and seekoff(), was overflow(), then calls std::codecvt::unshift(), perhaps multiple times, to determine the unshift sequence according to the imbued locale, and writes that sequence to file with

std::merge

Defined in header <algorithm> template< class InputIt1, class InputIt2, class OutputIt > OutputIt merge( InputIt1 first1, InputIt1 last1, InputIt2 first2, InputIt2 last2, OutputIt d_first ); (1) template< class InputIt1, class InputIt2, class OutputIt, class Compare> OutputIt merge( InputIt1 first1, InputIt1 last1, InputIt2 first2, InputIt2 last2, OutputIt d_first, Compare comp ); (2) Merges t

std::undeclare_reachable

Defined in header <memory> template< class T > T* undeclare_reachable( T* p ); (since C++11) Removes the reachable status of the object, referenced by the pointer p, if it was previously set by std::declare_reachable. If the object was declared reachable multiple times, equal number of calls to undeclare_reachable would be needed to remove this status. Once the object is not declared reachable and has no pointers referencing it, it may be reclaimed by garbage collecto

std::mbrtowc

Defined in header <cwchar> std::size_t mbrtowc( wchar_t* pwc, const char* s, std::size_t n, std::mbstate_t* ps ); Converts a narrow multibyte character to a wide character. If s is not a null pointer, inspects at most n bytes of the multibyte character string, beginning with the byte pointed to by s to determine the number of bytes necessary to complete the next multibyte character (including any shift sequences

std::basic_ofstream::close

void close(); Closes the associated file. Effectively calls rdbuf()->close(). If an error occurs during operation, setstate(failbit) is called. Parameters (none). Return value (none). Notes This function is called by the destructor of basic_ofstream when the stream object goes out of scope and is not usually invoked directly. Example See also is_open checks if the stream has an associated file (public member function) open opens a file and associates it with t

final

Usage final specifier

std::function::assign

template< class F, class Alloc > void assign( F&& f, const Alloc& alloc ); (since C++11) (until C++17) Initializes the target with f. alloc is used to allocate memory for any internal data structures that the function might use. Equivalent to function(allocator_arg, alloc, std::forward<F>(f)).swap(*this). Parameters f - callable function to initialize the target with alloc - allocator to use to allocate memory for the internal data structures R

std::islower(std::locale)

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