std::istreambuf_iterator

Defined in header <iterator> template< class CharT, class Traits = std::char_traits<CharT> > class istreambuf_iterator : public std::iterator< std::input_iterator_tag, CharT, typename Traits::off_type, /* unspecified, usually CharT* */, CharT > (until C++17) te

std::pointer_traits

Defined in header <memory> template< class Ptr > struct pointer_traits; (1) (since C++11) template< class T > struct pointer_traits<T*>; (2) (since C++11) The pointer_traits class template provides the standardized way to access certain properties of pointer-like types. The standard template std::allocator_traits relies on pointer_traits to determine the defaults for various typedefs required by Allocator. 1) The non-specialized pointer_traits declar

std::unordered_map::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::atomic::atomic

atomic() = default; (1) (since C++11) constexpr atomic( T desired ); (2) (since C++11) atomic( const atomic& ) = delete; (3) (since C++11) Constructs new atomic variable. 1) The default constructor is trivial: no initialization takes place other than zero initialization of static and thread-local objects. std::atomic_init may be used to complete initialization. 2) Initializes the underlying value with desired. The initialization is not atomic. 3) Atomic variables are

cstdio

This header was originally in the C standard library as <stdio.h>. This header is part of the C-style input/output library. Types FILE type, capable of holding all information needed to control a C I/O stream fpos_t type, capable of uniquely specifying a position in a file size_t unsigned integer type returned by the sizeof operator (typedef) Macros NULL implementation-defined null pointer constant (macro constant) stdinstdoutstderr expression of type FILE* as

std::max

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

case

Usage switch statement: as the declaration of the case labels

std::basic_string::rbegin

reverse_iterator rbegin(); const_reverse_iterator rbegin() const; const_reverse_iterator crbegin() const; (since C++11) Returns a reverse iterator to the first character of the reversed string. It corresponds to the last character of the non-reversed string. Parameters (none). Return value reverse iterator to the first character. Exceptions (none) (until C++11) noexcept specification: noexcept (since C++11) Complexity Constant. Example #include <iostr

std::char_traits::copy

static char_type* copy( char_type* dest, const char_type* src, std::size_t count ); Copies count character from character string pointed to by src to character string pointed to by dest. The behavior is undefined if copied character ranges overlap, i.e. src is in [dest, dest + count). Parameters dest - pointer to a character string to copy to src - pointer to a character string to copy from count - the number of characters to copy Return value dest. Exception

public

Usage public access specifier