File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -483,16 +483,17 @@ See [`xalloc`](#xalloc) for a sample of how to use `iword`.
483
483
Describes how to interact with a stream.
484
484
485
485
``` cpp
486
- using openmode = int ;
487
-
488
- static constexpr _Openmode in = static_cast <_Openmode>(0x01 );
489
- static constexpr _Openmode out = static_cast <_Openmode>(0x02 );
490
- static constexpr _Openmode ate = static_cast <_Openmode>(0x04 );
491
- static constexpr _Openmode app = static_cast <_Openmode>(0x08 );
492
- static constexpr _Openmode trunc = static_cast <_Openmode>(0x10 );
493
- static constexpr _Openmode _Nocreate = static_cast <_Openmode>(0x40 );
494
- static constexpr _Openmode _Noreplace = static_cast <_Openmode>(0x80 );
495
- static constexpr _Openmode binary = static_cast <_Openmode>(0x20 );
486
+ class ios_base {
487
+ public:
488
+ typedef implementation-defined-bitmask-type openmode;
489
+ static const openmode in;
490
+ static const openmode out;
491
+ static const openmode ate;
492
+ static const openmode app;
493
+ static const openmode trunc;
494
+ static const openmode binary;
495
+ // ...
496
+ };
496
497
```
497
498
498
499
### Remarks
You can’t perform that action at this time.
0 commit comments