std::basic_string::operator[]

reference operator[]( size_type pos ); (1) const_reference operator[]( size_type pos ) const; (2) Returns a reference to the character at specified location pos. No bounds checking is performed. 1) If pos == size(), the behavior is undefined. 2) If pos == size(), a reference to the character with value CharT() (the null character) is returned. (until C++11) If pos == size(), a reference to the character with value CharT() (the null character) is returned. For the first

std::student_t_distribution::student_t_distribution

explicit student_t_distribution( RealType n = 1 ); (1) (since C++11) explicit student_t_distribution( const param_type& params ); (2) (since C++11) Constructs new distribution object. The first version uses n as the distribution parameter, the second version uses params as the distribution parameter. Parameters n - the n distribution parameter (degrees of freedom) params - the distribution parameter set

std::error_condition::category

const error_category& category() const; (since C++11) Returns the stored error category. Parameters (none). Return value The stored error category. Exceptions noexcept specification: noexcept

std::type_info::name

const char* name() const; Returns an implementation defined null-terminated character string containing the name of the type. No guarantees are given, in particular, the returned string can be identical for several types and change between invocations of the same program. Parameters (none). Return value null-terminated character string containing the name of the type. Notes With compilers such as gcc and clang, the returned string can be piped through c++filt -t to be converted

std::minus<void>

Defined in header <functional> template<> class minus<void>; (since C++14) std::minus<> is a specialization of std::minus with parameter and return type deduced. Member types Member type Definition is_transparent /* unspecified */ Member functions operator() returns the difference of two arguments (public member function) std::minus<>::operator() template< class T, class U> constexpr auto operator()( T&& lhs

std::type_info::operators

bool operator==( const type_info& rhs ) const; bool operator!=( const type_info& rhs ) const; Checks if the objects refer to the same types. Parameters rhs - another type information object to compare to Return value true if the comparison operation holds true, false otherwise. Example #include <iostream> #include <typeinfo> #include <string> #include <utility> class person { public: person(std::string&& n) : _nam

std::io_errc

Defined in header <ios> enum class io_errc; (since C++11) The scoped enumeration std::io_errc defines the error codes reported by I/O streams in std::ios_base::failure exception objects. Only one error code (std::io_errc::stream) is required, although the implementation may define additional error codes. Because the appropriate specialization of std::is_error_code_enum is provided, values of type std::io_errc are implicitly convertible to std::error_code. Member constants

std::numeric_limits::has_signaling_NaN

static const bool has_signaling_NaN; (until C++11) static constexpr bool has_signaling_NaN; (since C++11) The value of std::numeric_limits<T>::has_signaling_NaN is true for all types T capable of representing the special value "Signaling Not-A-Number". This constant is meaningful for all floating-point types and is guaranteed to be true if std::numeric_limits<T>::is_iec559 == true. Standard specializations T value of std::numeric_limits<T>::has_signaling_Na

std::numeric_limits::is_iec559

static const bool is_iec559; (until C++11) static constexpr bool is_iec559; (since C++11) The value of std::numeric_limits<T>::is_iec559 is true for all floating-point types T which fulfill the requirements of IEC 559 (IEEE 754) standard. If std::numeric_limits<T>::is_iec559 is true, then std::numeric_limits<T>::has_infinity, std::numeric_limits<T>::has_quiet_NaN, and std::numeric_limits<T>::has_signaling_NaN are also true. Standard specializations

std::wcscspn

Defined in header <cwchar> std::size_t wcscspn( const wchar_t* dest, const wchar_t* src ); Returns the length of the maximum initial segment of the wide string pointed to by dest, that consists of only the characters not found in wide string pointed to by src. Parameters dest - pointer to the null-terminated wide string to be analyzed src - pointer to the null-terminated wide string that contains the characters to search for Return value The length of th