std::is_compound

Defined in header <type_traits> template< class T > struct is_compound; (since C++11) If T is a compound type (that is, array, function, object pointer, function pointer, member object pointer, member function pointer, reference, class, union, or enumeration, including any cv-qualified variants), provides the member constant value equal true. For any other type, value is false. Template parameters T - a type to check Helper variable template template&

std::accumulate

Defined in header <numeric> template< class InputIt, class T > T accumulate( InputIt first, InputIt last, T init ); (1) template< class InputIt, class T, class BinaryOperation > T accumulate( InputIt first, InputIt last, T init, BinaryOperation op ); (2) Computes the sum of the given value init and the elements in the range [first, last). The first version uses operator+ to sum up the elements, the second version uses the given binary functio

std::literals::chrono_literals::operator&quot;&quot;h

Defined in header <chrono> constexpr chrono::hours operator "" h(unsigned long long hrs); (1) (since C++14) constexpr chrono::duration</*unspecified*/, std::ratio<3600,1>> operator "" h(long double hrs); (2) (since C++14) Forms a std::chrono::duration literal representing hours. 1) integer literal, returns exactly std::chrono::hours(hrs) 2) floating-point literal, returns a floating-point duration equivalent to std::chrono::hours

std::is_null_pointer

Defined in header <type_traits> template< class T > struct is_null_pointer; (since C++14) Checks whether T is the type std::nullptr_t. Provides the member constant value that is equal to true, if T is the type std::nullptr_t, const std::nullptr_t, volatile std::nullptr_t, or const volatile std::nullptr_t. Otherwise, value is equal to false. Template parameters T - a type to check Helper variable template template< class T > constexpr bool is_nul

bitor

Usage alternative operators: as an alternative for |

std::gamma_distribution::alpha

RealType alpha() const; (1) (since C++11) RealType beta() const; (2) (since C++11) Returns the distribution parameters the distribution has been constructed with. 1) Returns the α distribution parameter. It is also known as the shape parameter. The default value is 1.0. 2) Returns the β distribution parameter. It is also known as the scale parameter. The default value is 1.0. Parameters (none). Return value 1) Floating point value identifying the α parameter 2) Floating

std::type_index

Defined in header <typeindex> class type_index; (since C++11) The type_index class is a wrapper class around a std::type_info object, that can be used as index in associative and unordered associative containers. The relationship with type_info object is maintained through a pointer, therefore type_index is CopyConstructible and CopyAssignable. Member functions (constructor) constructs the object (public member function) (destructor) (implicitly declared) destr

std::atomic::fetch_and

(since C++11) (member only of atomic<Integral> template specialization) T fetch_and( T arg, std::memory_order order = std::memory_order_seq_cst ); T fetch_and( T arg, std::memory_order order = std::memory_order_seq_cst ) volatile; Atomically replaces the current value with the result of bitwise AND of the value and arg. The operation is read-modify-write operation. Memory is affected according to the value of order. Parameters arg - th

std::unordered_multimap::insert

iterator insert( const value_type& value ); (1) (since C++11) template< class P > iterator insert( P&& value ); (2) (since C++11) iterator insert( value_type&& value ); (2) (since C++17) iterator insert( const_iterator hint, const value_type& value ); (3) (since C++11) template< class P > iterator insert( const_iterator hint, P&& value ); (4) (since C++11) iterator insert( const_iterator hint, value_type&& value

Utility library

C++ includes a variety of utility libraries that provide functionality ranging from bit-counting to partial function application. These libraries can be broadly divided into two groups: language support libraries, and general-purpose libraries. Language support Language support libraries provide classes and functions that interact closely with language features and support common language idioms. Type support Basic types (e.g. std::size_t, std::nullptr_t), RTTI (e.g. std::type_info)