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

Defined in header <locale> public: const CharT* scan_is( mask m, const CharT* beg, const CharT* end ) const; (1) protected: virtual const CharT* do_scan_is( mask m, const CharT* beg, const CharT* end) const; (2) 1) public member function, calls the protected virtual member function do_scan_is of the most derived class. 2) Locates the first character in the character array [beg, end) that satisfies the classification mask m, that is, the first character c such that i

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::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::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::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::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::cos(std::valarray)

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

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