std::ctype::narrow

Defined in header <locale> public: char narrow( CharT c, char dflt ) const; (1) public: const CharT* narrow( const CharT* beg, const CharT* end, char dflt, char* dst ) const; (2) protected: virtual char do_narrow( CharT c, char dflt ) const; (3) protected: virtual const CharT* do_narrow( const CharT* beg, const CharT* end, char dflt, char* dst ) const; (4) 1,2) Public member function, calls the protec

std::ctype::is

Defined in header <locale> public: bool is(mask m, CharT c) const; (1) public: const CharT* is(const CharT* low, const CharT* high, mask* vec) const; (2) protected: virtual bool do_is(mask m, CharT c) const; (3) protected: virtual const CharT* do_is(const CharT* low, const CharT* high, mask* vec) const; (4) 1,2) public member function, calls the protected virtual member function do_is of the most derived class. 3) Checks if the character c is classified

std::ctype::ctype

Defined in header <locale> explicit ctype( std::size_t refs = 0 ); Creates a std::ctype facet and forwards the starting reference count refs to the base class constructor, locale::facet::facet(). Parameters refs - starting reference count

std::ctype

Defined in header <locale> template< class CharT > class ctype; Class ctype encapsulates character classification features. All stream input operations performed through std::basic_istream<charT> use the std::ctype<charT> of the locale imbued in the stream to identify whitespace characters for input tokenization. Stream output operations apply std::ctype<charT>::widen() to narrow-character arguments prior to output. Inheritance diagram. Two sta

std::ctime

Defined in header <ctime> char* ctime( const std::time_t* time ); Converts given time since epoch to a calendar local time and then to a textual representation, as if by calling std::asctime(std::localtime(time)). The resulting string has the following format: Www Mmm dd hh:mm:ss yyyy Www - the day of the week (one of Mon, Tue, Wed, Thu, Fri, Sat, Sun). Mmm - the month (one of Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec). dd - the day of the month hh -

std::cout

Defined in header <iostream> extern std::ostream cout; (1) extern std::wostream wcout; (2) The global objects std::cout and std::wcout control output to a stream buffer of implementation-defined type (derived from std::streambuf), associated with the standard C output stream stdout. These objects are guaranteed to be initialized during or before the first time an object of type std::ios_base::Init is constructed and are available for use in the constructors and destru

std::count

Defined in header <algorithm> template< class InputIt, class T > typename iterator_traits<InputIt>::difference_type count( InputIt first, InputIt last, const T &value ); (1) template< class InputIt, class UnaryPredicate > typename iterator_traits<InputIt>::difference_type count_if( InputIt first, InputIt last, UnaryPredicate p ); (2) Returns the number of elements in the range [first, last) satisfying specific criteria. The first ve

std::cosh(std::valarray)

Defined in header <valarray> template< class T > valarray<T> cosh( const valarray<T>& va ); For each element in va computes hyperbolic cosine of the value of the element. Parameters va - value array to apply the operation to Return value Value array containing hyperbolic cosine of the values in va. Notes Unqualified function (cosh) is used to perform the computation. If such function is not available, std::cosh is used due to argument

std::cosh(std::complex)

Defined in header <complex> template< class T > complex<T> cosh( const complex<T>& z ); (since C++11) Computes complex hyperbolic cosine of a complex value z. Parameters z - complex value Return value If no errors occur, complex hyperbolic cosine of z is returned. Error handling and special values Errors are reported consistent with math_errhandling. If the implementation supports IEEE floating-point arithmetic, std::cosh(std::conj(z

std::cosh

Defined in header <cmath> float cosh( float arg ); (1) double cosh( double arg ); (2) long double cosh( long double arg ); (3) double cosh( Integral arg ); (4) (since C++11) Computes the hyperbolic cosine 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 a floating-point or Integral type Return value If