프로그램/cppreference
std::ios_base. 개요
일기를 쓰는 사람
2025. 7. 9. 16:05
std::ios_base - cppreference.com
std::ios_base - cppreference.com
The class ios_base is a multipurpose class that serves as the base class for all I/O stream classes. It maintains several kinds of data: 1) state information: stream status flags. 2) control information: flags that control formatting of both input and outp
en.cppreference.com
The class ios_base is a multipurpose class that serves as the base class for all I/O stream classes.
It maintains several kinds of data:
1. state information : stream status flags
2) control information: flags that control formatting of both input and output sequences and the imbued locale.
3) private storage: indexed extensible data structure that allows both long and void* members, which may be implemented as two arbitrary-length arrays or a single array of two-element structs or another container.
4) callbacks: arbitrary number of user-defined functions to be called from imbue(), basic_ios::copy_fmt(), and ~ios_base