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

std::valarray::operator[]

(1) T operator[]( std::size_t pos ) const; (until C++11) const T& operator[]( std::size_t pos ) const; (since C++11) T& operator[]( std::size_t pos ); (2) std::valarray<T> operator[]( std::slice slicearr ) const; (3) std::slice_array<T> operator[]( std::slice slicearr ); (4) std::valarray<T> operator[]( const std::gslice& gslicearr ) const; (5) std::gslice_arr

std::basic_string::c_str

const CharT* c_str() const; Returns a pointer to a null-terminated character array with data equivalent to those stored in the string. The pointer is such that the range [c_str(); c_str() + size()] is valid and the values in it correspond to the values stored in the string with an additional null character after the last position. The pointer obtained from c_str() may be invalidated by: Passing a non-const reference to the string to any standard library function, or Calling non-const

namespace

Usage namespace declaration namespace alias definition using-directives

std::mblen

Defined in header <cstdlib> int mblen( const char* s, std::size_t n ); Determines the size, in bytes, of the multibyte character whose first byte is pointed to by s. If s is a null pointer, resets the global conversion state and determined whether shift sequences are used. This function is equivalent to the call std::mbtowc((wchar_t*)0, s, n), except that conversion state of std::mbtowc is unaffected. Notes Each call to mblen updates the internal global conversion state

attribute specifier sequence(since C++11)

Introduces implementation-defined attributes for types, objects, code, etc. [[ attr]] [[attr1, attr2, attr3(args)]] [[namespace::attr(args)]] alignas_specifier Explanation Attributes provide the unified standard syntax for implementation-defined language extensions, such as the GNU and IBM language extensions __attribute__((...)), Microsoft extension __declspec(), etc. An attribute can be used almost everywhere in the C++ program, and can be applied to almost everything: to types, to v

std::numeric_limits::has_denorm

static const std::float_denorm_style has_denorm (until C++11) static constexpr std::float_denorm_style has_denorm (since C++11) The value of std::numeric_limits<T>::has_denorm identifies the floating-point types that support subnormal values. Standard specializations T value of std::numeric_limits<T>::has_denorm /* non-specialized */ std::denorm_absent bool std::denorm_absent char std::denorm_absent signed char std::denorm_absent unsigned char

LiteralType

Specifies that a type is a literal type. Literal types are the types of constexpr variables and they can be constructed, manipulated, and returned from constexpr functions. Note, that the standard doesn't define a named requirement or concept with this name. This is a type category defined by the core language. It is included here as concept only for consistency. Requirements A literal type is any of the following: possibly cv-qualified (since C++17) void (so that constexpr functions can r