std::ratio_not_equal

Defined in header <ratio> template< class R1, class R2 > struct ratio_not_equal : std::integral_constant; If the ratios R1 and R2 are not equal, provides the member constant value equal true. Otherwise, value is false. Helper variable template template< class R1, class R2 > constexpr bool ratio_not_equal_v = ratio_not_equal<R1, R2>::value; (since C++17) Inherited from std::integral_constant Member constants value [static] true if R1

std::strchr

Defined in header <cstring> const char* strchr( const char* str, int ch ); char* strchr( char* str, int ch ); Finds the first occurrence of the character static_cast<char>(ch) in the byte string pointed to by str. The terminating null character is considered to be a part of the string. Parameters str - pointer to the null-terminated byte string to be analyzed ch - character to search for Return value Pointer to the found character

std::unordered_multimap::begin

iterator begin(); (since C++11) const_iterator begin() const; (since C++11) const_iterator cbegin() const; (since C++11) Returns an iterator to the first element of the container. If the container is empty, the returned iterator will be equal to end(). Parameters (none). Return value Iterator to the first element. Exceptions noexcept specification: noexcept Complexity Constant. Example See also end cend returns an iterator to the end (public member

std::strcspn

Defined in header <cstring> size_t strcspn( const char *dest, const char *src ); Returns the length of the maximum initial segment of the byte string pointed to by dest, that consists of only the characters not found in byte string pointed to by src. The function name stands for "complementary span" Parameters dest - pointer to the null-terminated byte string to be analyzed src - pointer to the null-terminated byte string that contains the characters to search

std::begin(std::initializer_list)

template< class E > const E* begin( initializer_list<E> il ); (since C++11) (until C++14) template< class E > constexpr const E* begin( initializer_list<E> il ); (since C++14) The overload of std::begin for initializer_list returns a pointer to the first element of il. Parameters il - an initializer_list Return value il.begin(). Exceptions noexcept specification: noexcept Example #include <iostream> #include <initializer_l

std::bad_typeid

Defined in header <typeinfo> class bad_typeid : public std::exception; An exception of this type is thrown when a typeid operator is applied to a dereferenced null pointer value of a polymorphic type. Inheritance diagram. Member functions (constructor) constructs a new bad_typeid object (public member function) Inherited from std::exception Member functions (destructor) [virtual] destructs the exception object (virtual public member function of

std::bernoulli_distribution::bernoulli_distribution

explicit bernoulli_distribution( double p = 0.5 ); (1) (since C++11) explicit bernoulli_distribution( const param_type& params ); (2) (since C++11) Constructs new distribution object. The first version uses p as the distribution parameter, the second version uses params as the distribution parameter. Parameters p - the p distribution parameter (probability of generating true) params - the distribution parameter set

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::dynarray::rbegin

reverse_iterator rbegin(); (since {std}) const_reverse_iterator rbegin() const; (since {std}) const_reverse_iterator crbegin() const; (since {std}) Returns a reverse iterator to the first element of the reversed container. It corresponds to the last element of the non-reversed container. Parameters (none). Return value Reverse iterator to the first element. Exceptions noexcept specification: noexcept Complexity Constant. See also rend crend returns a

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