-
-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathios
More file actions
56 lines (50 loc) · 1.35 KB
/
Copy pathios
File metadata and controls
56 lines (50 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
//==============================================================================
//
// ios
//
#ifndef IOS_INCLUDED
#define IOS_INCLUDED
#include "cstdint"
namespace std
{
typedef int64_t streamsize;
typedef int64_t streampos;
class basic_ios
{
public:
basic_ios();
virtual ~basic_ios();
static const int in = 1;
static const int out = 2;
static const int ate = 4;
static const int app = 8;
static const int trunc = 16;
static const int binary = 32;
enum seekdir { beg, cur, end };
bool operator!() const;
explicit operator bool() const;
void clear();
bool eof() const;
bool fail() const;
streamsize precision() const;
streamsize precision(streamsize value);
};
class stream_manipulator
{
public:
stream_manipulator();
virtual ~stream_manipulator();
};
extern const stream_manipulator boolalpha;
extern const stream_manipulator dec;
extern const stream_manipulator fixed;
extern const stream_manipulator hex;
extern const stream_manipulator left;
extern const stream_manipulator oct;
extern const stream_manipulator noboolalpha;
extern const stream_manipulator nouppercase;
extern const stream_manipulator right;
extern const stream_manipulator scientific;
extern const stream_manipulator uppercase;
}
#endif