std::wcsncpy

Defined in header <cwchar> wchar_t *wcsncpy( wchar_t *dest, const wchar_t *src, std::size_t count ); Copies at most count characters of the wide string pointed to by src (including the terminating null wide character) to wide character array pointed to by dest. If count is reached before the entire string src was copied, the resulting wide character array is not null-terminated. If, after copying the terminating null wide character from src, count is not reached, additional

std::rotate_copy

Defined in header <algorithm> template< class ForwardIt, class OutputIt > OutputIt rotate_copy( ForwardIt first, ForwardIt n_first, ForwardIt last, OutputIt d_first ); Copies the elements from the range [first, last), to another range beginning at d_first in such a way, that the element n_first becomes the first element of the new range and n_first - 1 becomes the last element. Parameters first, last - the range of elements to copy n_fi

Declaring functions

A function declaration introduces the function name and its type. A function definition associates the function name/type with the function body. Function declaration Function declarations may appear in any scope. A function declaration at class scope introduces a class member function (unless the friend specifier is used), see member functions and friend functions for details. The type of the function being declared is composed from the return type (provided by the decl-specifier-seq of the

std::unordered_set::bucket_count

size_type bucket_count() const; (since C++11) Returns the number of buckets in the container. Parameters (none). Return value The number of buckets in the container. Complexity Constant. See also bucket_size returns the number of elements in specific bucket (public member function) max_bucket_count returns the maximum number of buckets (public member function)

std::bitset::operators

bitset<N>& operator&=( const bitset<N>& other ); (1) bitset<N>& operator|=( const bitset<N>& other ); (2) bitset<N>& operator^=( const bitset<N>& other ); (3) bitset<N> operator~() const; (4) Performs binary AND, OR, XOR and NOT. 1) Sets the bits to the result of binary AND on corresponding pairs of bits of *this and other. 2) Sets the bits to the result of binary OR on corresponding pairs of bits

std::chrono::abs(std::chrono::duration)

Defined in header <chrono> template <class Rep, class Period> constexpr duration<Rep, Period> abs(duration<Rep, Period> d) (since C++17) Returns the absolute value of the duration d. Specifically, if d >= d.zero(), return d, otherwise return -d. The function does not participate in the overload resolution unless std::numeric_limits<Rep>::is_signed is true. Parameters d - duration Return value Absolute value of d. Possible implement

std::chi_squared_distribution::max

result_type max() const; (since C++11) Returns the maximum value potentially generated by the distribution. Parameters (none). Return value The maximum value potentially generated by the distribution. Complexity Constant. See also min returns the minimum potentially generated value (public member function)

std::chrono::floor(std::chrono::duration)

Defined in header <chrono> template <class ToDuration, class Rep, class Period> constexpr ToDuration floor(const duration<Rep, Period>& d); (since C++17) Returns the greatest duration t representable in ToDuration that is less or equal to d. The function does not participate in the overload resolution unless ToDuration is an instance of std::chrono::duration. Parameters d - duration to convert Return value d rounded down to a duration of type T

std::front_insert_iterator::front_insert_iterator

explicit front_insert_iterator( Container& c ); Initializes the underlying pointer to the container to std::addressof(c) . Parameters c - container to initialize the inserter with

std::nested_exception::rethrow_nested

[[noreturn]] void rethrow_nested() const; (since C++11) Rethrows the stored exception. If there is no stored exceptions (i.e. nested_ptr() returns null pointer), then std::terminate is called. Parameters (none). Return value (none).