cplusplus.com cplusplus.com
cplusplus.com   C++ : Reference : IOstream Library : ios : widen
- -
C++
Information
Documentation
Reference
Articles
Sourcecode
Forum
Reference
C Library
IOstream Library
Strings library
STL Containers
STL Algorithms
IOstream Library
manipulators
classes:
· filebuf
· fstream
· ifstream
· ios
· iostream
· ios_base
· istream
· istringstream
· ofstream
· ostream
· ostringstream
· streambuf
· stringbuf
· stringstream
objects:
· cerr
· cin
· clog
· cout
types:
· fpos
· streamoff
· streampos
· streamsize
ios
· ios::ios
· ios::~ios
member functions:
· ios::bad
· ios::clear
· ios::copyfmt
· ios::eof
· ios::exceptions
· ios::fail
· ios::fill
· ios::good
· ios::imbue
· ios::init
· ios::narrow
· ios::operator!
· ios::operator void*
· ios::rdbuf
· ios::rdstate
· ios::setstate
· ios::tie
· ios::widen

-

ios::widen public member function
char widen ( char c ) const;

Widen character

Converts c to its locale equivalent.

If the basic template basic_ios is used with a type other than char the function also performs the appropiate conversion from char to the char_type used.

Parameters

c
character of type char to be widened.

Return Value

The locale equivalent of c

Basic template member declaration

( basic_ios<charT,traits> )
typedef charT char_type;
char_type widen ( char c ) const;

See also

ios::narrow Narrow character (public member function)

© The C++ Resources Network, 2000-2007 - All rights reserved
Spotted an error? - contact us