std::enable_shared_from_this::shared_from_this

shared_ptr<T> shared_from_this(); (1) shared_ptr<T const> shared_from_this() const; (2) Returns a std::shared_ptr<T> that shares ownership of *this with all existing std::shared_ptr that refer to *this. Notes Before calling shared_from_this, there should be at least one std::shared_ptr p that owns *this. Return value std::shared_ptr<T> that shares ownership of *this with pre-existing std::shared_ptrs. Example #include <iostream> #include &l

std::fisher_f_distribution::fisher_f_distribution

explicit fisher_f_distribution( RealType m = 1.0, RealType n = 1.0 ); (1) (since C++11) explicit fisher_f_distribution( const param_type& params ); (2) (since C++11) Constructs a new distribution object. The first version uses m and n as the distribution parameters, the second version uses params as the distribution parameters. Parameters m - the m distribution parameter (degrees of freedom) n - the n distribution parameter (degrees of freedom) params - the

NAN

Defined in header <cmath> #define NAN /*implementation defined*/ (since C++11) The macro NAN expands to constant expression of type float which evaluates to a quiet not-a-number (QNaN) value. If the implementation does not support QNaNs, this macro constant is not defined. Notes There are many different NaN values, differentiated by their payloads and their sign bits. The contents of the payload and the sign bit of the NaN generated by the macro NAN are implementation-de

std::packaged_task::valid

bool valid() const; (since C++11) Checks whether *this has a shared state. Parameters (none). Return value true if *this has a shared state, false otherwise. Exceptions noexcept specification: noexcept

std::swap(std::tuple)

template< class... Types > void swap( tuple<Types...>& lhs, tuple<Types...>& rhs ); (since C++11) Swaps the contents of lhs and rhs. Equivalent to lhs.swap(rhs). Parameters lhs, rhs - tuples whose contents to swap Return value (none). Exceptions noexcept specification: noexcept(noexcept(lhs.swap(rhs))) See also

std::shared_mutex::try_lock

bool try_lock(); (since C++17) Tries to lock the mutex. Returns immediately. On successful lock acquisition returns true, otherwise returns false. This function is allowed to fail spuriously and return false even if the mutex is not currently locked by any other thread. If try_lock is called by a thread that already owns the mutex in any mode (shared or exclusive), the behavior is undefined. Prior unlock() operation on the same mutex synchronizes-with (as defined in std::memory_order) t

std::numeric_limits::has_signaling_NaN

static const bool has_signaling_NaN; (until C++11) static constexpr bool has_signaling_NaN; (since C++11) The value of std::numeric_limits<T>::has_signaling_NaN is true for all types T capable of representing the special value "Signaling Not-A-Number". This constant is meaningful for all floating-point types and is guaranteed to be true if std::numeric_limits<T>::is_iec559 == true. Standard specializations T value of std::numeric_limits<T>::has_signaling_Na

std::regex_traits::lookup_collatename

template< class ForwardIt > string_type lookup_collatename( ForwardIt first, ForwardIt last ) const; If the character sequence [first, last) represents the name of a valid collating element in the currently imbued locale, returns the name of that collating element. Otherwise, returns an empty string. Collating elements are the symbols found in POSIX regular expressions between [. and .]. For example, [.a.] matches the character a in the C locale. [.tilde.] matches the character ~

std::multiset::emplace

template< class... Args > iterator emplace( Args&&... args ); (since C++11) Inserts a new element into the container by constructing it in-place with the given args . Careful use of emplace allows the new element to be constructed while avoiding unnecessary copy or move operations. The constructor of the new element is called with exactly the same arguments as supplied to emplace, forwarded via std::forward<Args>(args).... No iterators or references are invalidated.

std::atoi

Defined in header <cstdlib> int atoi( const char *str ); long atol( const char *str ); long long atoll( const char *str ); (since C++11) Interprets an integer value in a byte string pointed to by str. Discards any whitespace characters until the first non-whitespace character is found, then takes as many characters as possible to form a valid integer number representation and converts them to an integer value. The valid integer value consists of the f