ansi C reference phần 4

Giống như một chức năng thành viên, bạn bè của bạn một chức năng () được định nghĩa trong một lớp học lồng nhau trong phạm vi từ vựng của lớp đó, nó tuân theo quy tắc tương tự cho tên ràng buộc như là một chức năng thành viên tĩnh của lớp (9,5) và đã không | Types DRAFT 28 April 1995 Input output library 27- 7 Types typedef OFF_T streamoff 1 The type streamoff is an implementation-defined type that satisfies the requirements of type OFF_T . typedef OFF_T wstreamoff 2 The type wstreamoff is an implementation-defined type that satisfies the requirements of type OFF_T . typedef POS_T streampos 3 The type streampos is an implementation-defined type that satisfies the requirements of type POS_T . typedef POS_T wstreampos 4 The type wstreampos is an implementation-defined type that satisfies the requirements of type POS_T . typedef INT_T streamsize 5 The type streamsize is a synonym for one of the signed basic integral types. It is used to represent the number of characters transferred in an I O operation or the size of I O Template struct ios_traits namespace std template class charT struct ios_traits charT Types typedef charT char_type typedef INT_T int_type typedef POS_T pos_type typedef OFF_T off_type typedef To be specified state_type values static char_type static int_type static int_type static char_type static sizet tests static bool static bool static bool static bool eos eof not_eof char_type c newline length const char_type s eq_char_type char_type char_type eq_int_type int_type int_type is_eof int_type is_whitespace const ctype char_type ctype char_type c 211 7 streamsize is used in most places where ISO C would use size_t. Most of the uses of streamsize could use size_t except for the strstreambuf constructors which require negative values. It should probably be the signed type corresponding to size_t which is what calls ssize_t . 27- 8 Input output library DRAFT 28 April 1995 Template struct ios_traits conversions static char_type to_char_type int_type static int_type to_int_type char_type static char_type copy char_type dst const char_type src size_t n static .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.