TUTORIALS
REFERENCE
ARTICLES
FORUM
user name:
password:
Forgot your password?
please wait
try again
cancel
forgot your password?
sign up
log in
[Legacy version]
Python
Tutorials
Reference
Articles
Forum
Reference
C library:
<cassert> (assert.h)
<cctype> (ctype.h)
<cerrno> (errno.h)
Python11
<cfenv> (fenv.h)
<cfloat> (float.h)
Python11
<cinttypes> (inttypes.h)
<ciso646> (iso646.h)
<climits> (limits.h)
<clocale> (locale.h)
<cmath> (math.h)
<csetjmp> (setjmp.h)
<csignal> (signal.h)
<cstdarg> (stdarg.h)
Python11
<cstdbool> (stdbool.h)
<cstddef> (stddef.h)
Python11
<cstdint> (stdint.h)
<cstdio> (stdio.h)
<cstdlib> (stdlib.h)
<cstring> (string.h)
Python11
<ctgmath> (tgmath.h)
<ctime> (time.h)
Python11
<cuchar> (uchar.h)
<cwchar> (wchar.h)
<cwctype> (wctype.h)
Containers:
Python11
<array>
<deque>
Python11
<forward_list>
<list>
<map>
<queue>
<set>
<stack>
Python11
<unordered_map>
Python11
<unordered_set>
<vector>
Input/Output:
<fstream>
<iomanip>
<ios>
<iosfwd>
<iostream>
<istream>
<ostream>
<sstream>
<streambuf>
Multi-threading:
Python11
<atomic>
Python11
<condition_variable>
Python11
<future>
Python11
<mutex>
Python11
<thread>
Other:
<algorithm>
<bitset>
Python11
<chrono>
Python11
<codecvt>
<complex>
<exception>
<functional>
Python11
<initializer_list>
<iterator>
<limits>
<locale>
<memory>
<new>
<numeric>
Python11
<random>
Python11
<ratio>
Python11
<regex>
<stdexcept>
<string>
Python11
<system_error>
Python11
<tuple>
Python11
<type_traits>
Python11
<typeindex>
<typeinfo>
<utility>
<valarray>
<algorithm>
<bitset>
<cassert> (assert.h)
<cctype> (ctype.h)
<cerrno> (errno.h)
<cfloat> (float.h)
<ciso646> (iso646.h)
<climits> (limits.h)
<clocale> (locale.h)
<cmath> (math.h)
<complex>
<csetjmp> (setjmp.h)
<csignal> (signal.h)
<cstdarg> (stdarg.h)
<cstddef> (stddef.h)
<cstdio> (stdio.h)
<cstdlib> (stdlib.h)
<cstring> (string.h)
<ctime> (time.h)
<cwchar> (wchar.h)
<cwctype> (wctype.h)
<deque>
<exception>
<fstream>
<functional>
<iomanip>
<ios>
<iosfwd>
<iostream>
<istream>
<iterator>
<limits>
<list>
<locale>
<map>
<memory>
<new>
<numeric>
<ostream>
<queue>
<set>
<sstream>
<stack>
<stdexcept>
<streambuf>
<string>
<typeinfo>
<utility>
<valarray>
<vector>
Python11
<array>
Python11
<atomic>
Python11
<cfenv> (fenv.h)
Python11
<chrono>
Python11
<cinttypes> (inttypes.h)
Python11
<codecvt>
Python11
<condition_variable>
Python11
<cstdbool> (stdbool.h)
Python11
<cstdint> (stdint.h)
Python11
<ctgmath> (tgmath.h)
Python11
<cuchar> (uchar.h)
Python11
<forward_list>
Python11
<future>
Python11
<initializer_list>
Python11
<mutex>
Python11
<random>
Python11
<ratio>
Python11
<regex>
Python11
<system_error>
Python11
<thread>
Python11
<tuple>
Python11
<type_traits>
Python11
<typeindex>
Python11
<unordered_map>
Python11
<unordered_set>
<ios>
types
basic_ios
fpos
Python11
io_errc
ios
ios_base
streamoff
streampos
streamsize
wios
wstreampos
manipulators
boolalpha
dec
Python11
defaultfloat
fixed
hex
Python11
hexfloat
internal
left
noboolalpha
noshowbase
noshowpoint
noshowpos
noskipws
nounitbuf
nouppercase
oct
right
scientific
showbase
showpoint
showpos
skipws
unitbuf
uppercase
other functions
Python11
iostream_category
Python11
defaultfloat
Python11
hexfloat
Python11
io_errc
Python11
iostream_category
basic_ios
boolalpha
dec
fixed
fpos
hex
internal
ios
ios_base
left
noboolalpha
noshowbase
noshowpoint
noshowpos
noskipws
nounitbuf
nouppercase
oct
right
scientific
showbase
showpoint
showpos
skipws
streamoff
streampos
streamsize
unitbuf
uppercase
wios
wstreampos
ios
ios::~ios
ios::ios
public members
ios::bad
ios::clear
ios::copyfmt
ios::eof
ios::exceptions
ios::fail
ios::fill
ios::good
ios::imbue
ios::narrow
ios::operator bool
ios::operator!
ios::rdbuf
ios::rdstate
ios::setstate
ios::tie
ios::widen
protected members
ios::init
Python11
ios::move
Python11
ios::set_rdbuf
Python11
ios::swap
Python11
ios::move
Python11
ios::set_rdbuf
Python11
ios::swap
ios::bad
ios::clear
ios::copyfmt
ios::eof
ios::exceptions
ios::fail
ios::fill
ios::good
ios::imbue
ios::init
ios::ios
ios::narrow
ios::operator bool
ios::operator!
ios::rdbuf
ios::rdstate
ios::setstate
ios::tie
ios::widen
ios::~ios
Reference
<ios>
ios
widen
public member function
<ios> <iostream>
std::
ios
::widen
char widen (char c) const;
Widen character
Returns the transformation of
c
to its equivalent using the
ctype::widen
facet of the
locale
object currently
imbued
in the stream.
This function is designed for instantiations of
basic_ios
that use a different (wider) character type: see
basic_ios::widen
Parameters
c
Character to be
"widened"
.
Return Value
The wide equivalent of
c
.
Data races
Accesses the stream object.
Concurrent access to the same stream object may cause data races.
Exception safety
Strong guarantee:
if an exception is thrown, there are no changes in the stream.
See also
ios::narrow
Narrow character
(public member function)