This commit is contained in:
2025-10-25 03:02:53 +03:00
commit 043225d523
3416 changed files with 681196 additions and 0 deletions

29
cppdraft/file/native.md Normal file
View File

@@ -0,0 +1,29 @@
[file.native]
# 31 Input/output library [[input.output]](./#input.output)
## 31.10 File-based streams [[file.streams]](file.streams#file.native)
### 31.10.2 Native handles [file.native]
[1](#1)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L10953)
Several classes described in [[file.streams]](file.streams "31.10File-based streams") have a member native_handle_type[.](#1.sentence-1)
[2](#2)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/iostreams.tex#L10957)
The type native_handle_type represents a platform-specific[*native handle*](#def:handle,native "31.10.2Native handles[file.native]") to a file[.](#2.sentence-1)
It is trivially copyable and models [semiregular](concepts.object#concept:semiregular "18.6Object concepts[concepts.object]")[.](#2.sentence-2)
[*Note [1](#note-1)*:
For operating systems based on POSIX,native_handle_type is int[.](#2.sentence-3)
For Windows-based operating systems,native_handle_type is HANDLE[.](#2.sentence-4)
— *end note*]

1467
cppdraft/file/streams.md Normal file

File diff suppressed because it is too large Load Diff