std::collate::collate

Defined in header <locale> explicit collate( std::size_t refs = 0 ); Creates a std::collate facet and forwards the starting reference count refs to the base class constructor, locale::facet::facet(). Parameters refs - starting reference count

std::basic_filebuf::seekpos

protected: virtual pos_type seekpos( pos_type sp, std::ios_base::openmode which = std::ios_base::in | std::ios_base::out ); Repositions the file pointer, if possible, to the position indicated by sp. If the associated file is not open (is_open()==false), fails immediately. If the file is open for writing, first writes the put area and any unshift sequences required by the currently imbued locale, using overflow(). Then repositions the file pointer, as if by cal

std::unordered_multiset::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

cwctype

This header was originally in the C standard library as <wctype.h>. This header is part of the C-style null-terminated wide strings library. Types wctrans_t scalar type that holds locale-specific character mapping wctype_t scalar type that holds locale-specific character classification wint_t integer type that can hold any valid wide character and at least one more value Macros WEOF a non-character value of type wint_t used to indicate errors (macro constant) F

std::binomial_distribution::p

double p() const; (1) (since C++11) IntType t() const; (2) (since C++11) Returns the parameters the distribution was constructed with. 1) Returns the p distribution parameter. It defines the probability of a trial generating true. The default value is 0.5. 2) Returns the t distribution parameter. It identifies the number of trials. The default value is 1. Parameters (none). Return value 1) The p distribution parameter. 2) The t distribution parameter. See also param

std::function::target_type

const std::type_info& target_type() const; (since C++11) Returns the type of the stored function. Parameters (none). Return value typeid(T) if the stored function has type T, otherwise typeid(void). Exceptions noexcept specification: noexcept Example #include <functional> #include <iostream> int f(int a) { return -a; } int main() { // fn1 and fn2 have the same type, but their targets do not std::function<int(int)> fn1(f),

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

Defined in header <chrono> constexpr chrono::seconds operator "" s(unsigned long long secs); (1) (since C++14) constexpr chrono::duration</*unspecified*/> operator "" s(long double secs); (2) (since C++14) Forms a std::chrono::duration literal representing seconds. 1) integer literal, returns exactly std::chrono::seconds(secs) 2) floating-point literal, returns a floating-point duration equivalent to std::chrono::seconds Parameters secs - the number

std::raw_storage_iterator

Defined in header <memory> template< class OutputIt, class T > class raw_storage_iterator : public std::iterator<std::output_iterator_tag, void, void, void, void>; (until C++17) template< class OutputIt, class T > class raw_storage_iterator; (since C++17) The output iterator std::raw_storage_iterator makes it possible for standard algorithms to store results in uninitialized memory. Whenever the algorithm writes an object of type T to the derefer

nullptr

Syntax nullptr (since C++11) Explanation The keyword nullptr denotes the pointer literal. It is a prvalue of type std::nullptr_t. There exist implicit conversions from nullptr to null pointer value of any pointer type and any pointer to member type. Similar conversions exist for any null pointer constant, which includes values of type std::nullptr_t as well as the macro NULL. Example Demonstrates how nullptr allows forwarding via a template function. #include <cstddef> #

std::ctype&lt;char&gt;

Defined in header <locale> template<> class ctype<char>; This specialization of std::ctype encapsulates character classification features for type char. Unlike general-purpose std::ctype, which uses virtual functions, this specialization uses table lookup to classify characters (which is generally faster). The base class std::ctype<char> implements character classification equivalent to the minimal "C" locale. The classification rules can be extended or mo