inline specifier

Declares an inline function. Syntax inline function_declaration (1) class { function_definition }; (2) constexpr function_declaration (3) (since C++11) 1) A function at global scope can be declared inline using the keyword inline 2) A function defined entirely inside a class/struct/union definition, whether it's a member function or a non-member friend function, is always inline. 3) A function declared constexpr is always inline. Description An inline function is a

std::basic_streambuf::sgetn

std::streamsize sgetn( char_type* s, std::streamsize count ); (1) protected: virtual std::streamsize xsgetn( char_type* s, std::streamsize count ); (2) 1) Calls xsgetn(s, count) of the most derived class. 2) Reads count characters from the input sequence and stores them into a character array pointed to by s. The characters are read as if by repeated calls to sbumpc(). That is, if less than count characters are immediately available, the function calls uflow() to provide more un

std::setfill

Defined in header <iomanip> template< class CharT > /*unspecified*/ setfill( CharT c ); When used in an expression out << setfill(c) sets the fill character of the stream out to c. Parameters c - new value for the fill character Return value Returns an object of unspecified type such that if out is the name of an output stream of type std::basic_ostream<CharT, Traits>, then the expression out << setfill(n) behaves as if the following co

std::logb

Defined in header <cmath> float logb( float arg ); (1) (since C++11) double logb( double arg ); (2) (since C++11) long double logb( long double arg ); (3) (since C++11) double logb( Integral arg ); (4) (since C++11) 1-3) Extracts the value of the unbiased radix-independent exponent from the floating-point argument arg, and returns it as a floating-point value. 4) A set of overloads or a function template accepting an argument of any integ

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::indirect_array

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

std::pointer_to_unary_function

template< class Arg, class Result > class pointer_to_unary_function : public std::unary_function<Arg, Result>; (until C++17)(deprecated since C++11) std::pointer_to_unary_function is a function object that acts as a wrapper around a unary function. Member functions (constructor) constructs a new pointer_to_unary_function object with the supplied function (public member function) operator() calls the stored function (public member function) std::poi

std::uninitialized_fill

Defined in header <memory> template< class ForwardIt, class T > void uninitialized_fill( ForwardIt first, ForwardIt last, const T& value ); Copies the given value to an uninitialized memory area, defined by the range [first, last) as if by. for (; first != last; ++first) ::new (static_cast<void*>(std::addressof(*first))) typename iterator_traits<ForwardIterator>::value_type(x); If an exception is thrown during the initialization, the function h

std::basic_streambuf::sbumpc

int_type sbumpc(); Reads one character and advances the input sequence by one character. If the input sequence read position is not available, returns uflow(). Otherwise returns Traits::to_int_type(*gptr()). Parameters (none). Return value The value of the character pointed to by the get pointer, or Traits::eof() if the read position is not available. Example See also sgetc reads one character from the input sequence without advancing the sequence (public member function

std::unordered_multiset::max_load_factor

float max_load_factor() const; (1) (since C++11) void max_load_factor( float ml ); (2) (since C++11) Manages the maximum load factor (number of elements per bucket). The container automatically increases the number of buckets if the load factor exceeds this threshold. 1) Returns current maximum load factor. 2) Sets the maximum load factor to ml. Parameters ml - new maximum load factor setting Return value 1) current maximum load factor. 2) none. Complexity Constan