31
Input/output library
[input.output]
31.10
File-based streams
[file.streams]
31.10.2
Native handles
[file.native]
1
#
Several classes described in
[file.
streams]
have a member
native_
handle_
type
.
2
#
The type
native_
handle_
type
represents a platform-specific
native handle
to a file
.
It is trivially copyable and models
semiregular
.
[
Note
1
:
For operating systems based on POSIX,
native_
handle_
type
is
int
.
For Windows-based operating systems,
native_
handle_
type
is
HANDLE
.
—
end note
]