operators (std::extreme_value_distribution)

template< class CharT, class Traits, class ResultType > std::basic_ostream<CharT,Traits>& operator<<( std::basic_ostream<CharT,Traits>& ost, const extreme_value_distribution<ResultType>& d ); (1) template< class CharT, class Traits, class ResultType > std::basic_istream<CharT,Traits>& operator>>( std::basic_istream<CharT,Traits>& ist,

codecvt

This header is part of the Localization library. Classes codecvt_utf8 (C++11) converts between UTF-8 and UCS2/UCS4 (class template) codecvt_utf16 (C++11) converts between UTF-16 and UCS2/UCS4 (class template) codecvt_utf8_utf16 (C++11) converts between UTF-8 and UTF-16 (class template) codecvt_mode (C++11) tags to alter behavior of the standard codecvt facets (enum) Synopsis namespace std { enum codecvt_mode { consume_header = 4, generat

std::gslice_array

Defined in header <valarray> template< class T > class gslice_array; std::gslice_array is a helper template used by std::gslice subscript operator. It has reference semantics to a subset of the array specified by the std::gslice object. Member types Type Definition value_type T Member functions (constructor) constructs a gslice_array (public member function) (destructor) destroys a gslice_array (public member function) operator= assigns

std::codecvt::unshift

Defined in header <locale> public: result unshift( StateT& state, ExternT* to, ExternT* to_end, ExternT*& to_next) const; (1) protected: virtual result do_unshift( StateT& state, ExternT* to, ExternT* to_end, ExternT*& to_next) const; (2) 1) public member function, calls the member function do_unshift of the most derived cla

operators (std::bernoulli_distribution)

bool operator==( const bernoulli_distribution& lhs, const bernoulli_distribution& rhs ); (1) bool operator!=( const bernoulli_distribution& lhs, const bernoulli_distribution& rhs ); (2) Compares two distribution objects. Two distribution objects are equal when parameter values and internal state is the same. 1) Compares two distribution objects for equality. 2) Compares two distribution objects for inequality. Parameters lhs, r

INFINITY

Defined in header <cmath> #define INFINITY /*implementation defined*/ (since C++11) If the implementation supports floating-point infinities, the macro INFINITY expands to constant expression of type float which evaluates to positive or unsigned infinity. If the implementation does not support floating-point infinities, the macro INFINITY expands to a positive value that is guaranteed to overflow a float at compile time, and the use of this macro generates a compiler warnin

Boolean literals

Syntax true (1) false (2) Explanation The Boolean literals are the keywords true and false. They are prvalues of type bool. Notes See Integral conversions for implicit conversions from bool to other types and boolean conversions for the implicit conversions from other types to bool. Example #include <iostream> int main() { std::cout << std::boolalpha << true << '\n' << false << '\n' <<

std::shared_ptr::owner_before

template< class Y > bool owner_before( const shared_ptr<Y>& other) const; template< class Y > bool owner_before( const std::weak_ptr<Y>& other) const; Checks whether this shared_ptr precedes other in implementation defined owner-based (as opposed to value-based) order. The order is such that two smart pointers compare equivalent only if they are both empty or if they both own the same object, even if the values of the pointers obtained by get() are

std::atomic::fetch_or

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

std::scoped_allocator_adaptor::inner_allocator

Defined in header <scoped_allocator> inner_allocator_type& inner_allocator(); (1) (since C++11) const inner_allocator_type& inner_allocator() const; (2) (since C++11) Obtains a reference to the inner allocator used to declare this scoped_allocator_adaptor. If sizeof...(InnerAllocs) == 0, that is, no inner allocators were declared, returns *this. Otherwise returns a reference to std::scoped_allocator_adaptor<InnerAllocs...>, that is, a scoped allocator co