std::unordered_multiset::get_allocator

allocator_type get_allocator() const; (since C++11) Returns the allocator associated with the container. Parameters (none). Return value The associated allocator. Complexity Constant.

std::unordered_multimap::end

iterator end(); (since C++11) const_iterator end() const; (since C++11) const_iterator cend() const; (since C++11) Returns an iterator to the element following the last element of the container. This element acts as a placeholder; attempting to access it results in undefined behavior. Parameters (none). Return value Iterator to the element following the last element. Exceptions noexcept specification: noexcept Complexity Constant. See also begin cbegin

std::chrono::duration::count

constexpr rep count() const; Returns the number of ticks for this duration. Parameters (none). Return value The number of ticks for this duration. Example #include <chrono> #include <iostream> int main() { std::chrono::milliseconds ms{3}; // 3 milliseconds // 6000 microseconds constructed from 3 milliseconds std::chrono::microseconds us = 2*ms; // 30Hz clock using fractional ticks std::chrono::duration<double, std::ratio<1, 30>> hz3

constexpr

Usage constexpr declaration specifier (since C++11)

std::complex

Defined in header <complex> template< class T > class complex; (1) template<> class complex<float>; (2) template<> class complex<double>; (3) template<> class complex<long double>; (4) The specializations std::complex<float>, std::complex<double>, and std::complex<long double> are LiteralTypes for representing and manipulating complex numbers. The effect of instantiating the template complex for a

Template parameters and template arguments

Every template is parametrized by one or more template parameters, indicated in the parameter-list of the template declaration syntax: template < parameter-list > declaration (1) Each parameter in parameter-list may be: a non-type template parameter; a type template parameter; a template template parameter. Non-type template parameter type name(optional) (1) type name(optional) = default (2) type ... name(optional) (3) (since C++11) 1) A non-type t

std::basic_ios::basic_ios

protected: basic_ios(); (1) public: explicit basic_ios( std::basic_streambuf<CharT,Traits>* sb ); (2) (3) private: basic_ios(const basic_ios&); (until C++11) public: basic_ios(const basic_ios& ) = delete; (since C++11) Constructs new basic_ios object. 1) Default constructor. The internal state is not initialized. init() must be called before the first use of the object or before destructor, otherwise the behavior is undefined. 2) Initializes the interna

std::freopen

Defined in header <cstdio> std::FILE* freopen( const char* filename, const char* mode, std::FILE* stream ); First, attempts to close the file associated with stream, ignoring any errors. Then, if filename is not null, attempts to open the file specified by filename using mode as if by fopen, and associates that file with the file stream pointed to by stream. If filename is a null pointer, then the function attempts to reopen the file that is already associated with stream (

std::unordered_set::begin(int)

local_iterator begin( size_type n ); (since C++11) const_local_iterator begin( size_type n ) const; (since C++11) const_local_iterator cbegin( size_type n ) const; (since C++11) Returns an iterator to the first element of the bucket with index pos. Parameters n - the index of the bucket to access Return value Iterator to the first element. Complexity Constant. See also end(int) cend(int) returns an iterator to the end of the specified bucket (public m

operators (std::tuple)

Defined in header <tuple> template< class... TTypes, class... UTypes > bool operator==( const tuple<TTypes...>& lhs, const tuple<UTypes...>& rhs ); (1) (since C++11) (until C++14) template< class... TTypes, class... UTypes > constexpr bool operator==( const tuple<TTypes...>& lhs, const tuple<UTypes...>& rhs ); (1) (since C++14) template< class... TTypes, class... UTypes