std::basic_string::insert

basic_string& insert( size_type index, size_type count, CharT ch ); (1) basic_string& insert( size_type index, const CharT* s ); (2) basic_string& insert( size_type index, const CharT* s, size_type count ); (3) basic_string& insert( size_type index, const basic_string& str ); (4) (5) basic_string& insert( size_type index, const basic_string& str, size_type index_str, size_type count ); (until C++14) basic_string&a

std::time_put_byname

Defined in header <locale> template< class CharT, class OutputIterator = std::ostreambuf_iterator<CharT> > class time_put_byname : public std::time_put<CharT, OutputIterator>; std::time_put_byname is a std::time_put facet which encapsulates time and date formatting rules of the locale specified at its construction. Two specializations are provided by the standard library. Defined in header <locale> std::time_put_byname<char, OutputIterator>

std::log2

Defined in header <cmath> float log2( float arg ); (1) (since C++11) double log2( double arg ); (2) (since C++11) long double log2( long double arg ); (3) (since C++11) double log2( Integral arg ); (4) (since C++11) 1-3) Computes the binary (base-2) logarithm of arg. 4) A set of overloads or a function template accepting an argument of any integral type. Equivalent to 2) (the argument is cast to double). Parameters arg - value of

cv type qualifiers

Appear in any type specifier, including decl-specifier-seq of declaration grammar, to specify constness or volatility of the object being declared or of the type being named. const - defines that the type is constant. volatile - defines that the type is volatile. mutable - applies to non-static class members of non-reference non-const type and specifies that the member does not affect the externally visible state of the class (as often used for mutexes, memo caches, lazy evaluation, and ac

std::strstream

Defined in header <strstream> class strstream : public std::iostream (deprecated) The class strstream implements input and output operations on array-backed streams. It essentially wraps a raw array I/O device implementation (std::strstreambuf) into the higher-level interface of std::basic_iostream. The typical implementation of strstream holds only one non-derived data member: an object of type std::strstreambuf. Notes After any call to str(), a call to freeze(false) is

std::vector::vector

(1) explicit vector( const Allocator& alloc = Allocator() ); (until C++14) vector() : vector( Allocator() ) {} explicit vector( const Allocator& alloc ); (since C++14) (2) explicit vector( size_type count, const T& value = T(), const Allocator& alloc = Allocator()); (until C++11) vector( size_type count, const T& value, const Allocator& alloc = Allocator()); (since C++11

std::basic_istringstream

Defined in header <sstream> template< class CharT, class Traits = std::char_traits<CharT> > class basic_istringstream; (until C++11) template< class CharT, class Traits = std::char_traits<CharT>, class Allocator = std::allocator<CharT> > class basic_istringstream; (since C++11) The class template std::basic_istringstream implements input operations on memory (std::basic_string) based streams. It essentially wraps a

streambuf

This header is part of the Input/Output library. Classes basic_streambuf abstracts a raw device (class template) Typedefs streambuf basic_streambuf<char> wstreambuf basic_streambuf<wchar_t> Synopsis namespace std { template <class charT, class traits = char_traits<charT> > class basic_streambuf; typedef basic_streambuf<char> streambuf; typedef basic_streambuf<wchar_t> wstreambuf; } Class std::basic_streambuf t

std::input_iterator_tag

Defined in header <iterator> struct input_iterator_tag { }; struct output_iterator_tag { }; struct forward_iterator_tag : public input_iterator_tag { }; struct bidirectional_iterator_tag : public forward_iterator_tag { }; struct random_access_iterator_tag : public bidirectional_iterator_tag { }; Defines the category of an iterator. Each tag is an empty type and corresponds to one of the five iterator categories: input_iterator_tag corresponds to Inp

std::gamma_distribution

Defined in header <random> template< class RealType = double > class gamma_distribution; (since C++11) Produces random positive floating-point values x, distributed according to probability density function: P(x|α,β) = e-x/β βα · Γ(α) · xα-1 where α is known as the shape parameter and β is known as the scale parameter. For floating-point α, the value obtained is the sum of α independent exponentially distributed random variables, each of which has a mean of β st