std::codecvt::in

Defined in header <locale> public: result in( StateT& state, const ExternT* from, const ExternT* from_end, const ExternT*& from_next, InternT* to, InternT* to_end, InternT*& to_next ) const; (1) protected: virtual result do_in( StateT& state, const ExternT* from, const ExternT* from_end, const ExternT*& from_next,

std::codecvt::encoding

Defined in header <locale> public: int encoding() const; (1) protected: virtual int do_encoding() const; (2) 1) public member function, calls the member function do_encoding of the most derived class. 2) if the encoding represented by this codecvt facet maps each internal character to the same, constant number of external characters, returns that number. If the encoding is variable-length (e.g. UTF-8 or UTF-16), returns ​0​. If the encoding is state-dependent, retur

std::codecvt::codecvt

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

std::codecvt::always_noconv

Defined in header <locale> public: bool always_noconv() const; (1) protected: virtual bool do_always_noconv() const; (2) 1) Public member function, calls the member function do_always_noconv of the most derived class. 2) Returns true if both do_in() and do_out() return std::codecvt_base::noconv for all valid inputs. Return value true if this conversion facet performs no conversions, false otherwise. The non-converting specialization std::codecvt<char, char, st

std::codecvt

Defined in header <locale> template< class InternT, class ExternT, class State > class codecvt; Class std::codecvt encapsulates conversion of character strings, including wide and multibyte, from one encoding to another. All file I/O operations performed through std::basic_fstream<CharT> use the std::codecvt<CharT, char, std::mbstate_t> facet of the locale imbued in the stream. Inheritance diagram. Four standalone (locale-independent)

std::clog

Defined in header <iostream> extern std::ostream clog; (1) extern std::wostream wclog; (2) The global objects std::clog and std::wclog control output to a stream buffer of implementation-defined type (derived from std::streambuf), associated with the standard C output stream stderr, but, unlike std::cerr/std::wcerr, these streams are not automatically flushed and not automatically tie()'d with cout. These objects are guaranteed to be initialized during or before the f

std::clock_t

Defined in header <ctime> typedef /* unspecified */ clock_t; Arithmetic type capable of representing the process running time of implementation-defined range and precision. See also clock returns raw processor clock time since the program is started (function) CLOCKS_PER_SEC number of processor clock ticks per second (macro constant) C documentation for clock_t

std::clock

Defined in header <ctime> std::clock_t clock(); Returns the approximate processor time used by the process since the beginning of an implementation-defined era related to the program's execution. To convert result value to seconds divide it by CLOCKS_PER_SEC. Only the difference between two values returned by different calls to std::clock is meaningful, as the beginning of the std::clock era does not have to coincide with the start of the program. std::clock time may advanc

std::clearerr

Defined in header <cstdio> void clearerr( std::FILE* stream ); Resets the error flags and the EOF indicator for the given file stream. Parameters stream - the file to reset the error flags for Return value (none). Example See also feof checks for the end-of-file (function) perror displays a character string corresponding of the current error to stderr (function) ferror checks for a file error (function) C documentation for clearerr

std::cin

Defined in header <iostream> extern std::istream cin; (1) extern std::wistream wcin; (2) The global objects std::cin and std::wcin control input from a stream buffer of implementation-defined type (derived from std::streambuf), associated with the standard C input stream stdin. These objects are guaranteed to be constructed before the first constructor of a static object is called and they are guaranteed to outlive the last destructor of a static object, so that it is