mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
parser-inc: add missing ios_base::iostate
This commit is contained in:
parent
a76747cba5
commit
7086a6a2db
@ -41,6 +41,8 @@ namespace std {
|
|||||||
};
|
};
|
||||||
enum openmode {
|
enum openmode {
|
||||||
};
|
};
|
||||||
|
enum iostate {
|
||||||
|
};
|
||||||
// Don't define these lest interrogate get tempted to actually
|
// Don't define these lest interrogate get tempted to actually
|
||||||
// substitute in the values, which are implementation-defined.
|
// substitute in the values, which are implementation-defined.
|
||||||
static const openmode app;
|
static const openmode app;
|
||||||
@ -48,6 +50,10 @@ namespace std {
|
|||||||
static const openmode in;
|
static const openmode in;
|
||||||
static const openmode out;
|
static const openmode out;
|
||||||
static const openmode trunc;
|
static const openmode trunc;
|
||||||
|
static constexpr iostate goodbit = 0;
|
||||||
|
static constexpr iostate badbit;
|
||||||
|
static constexpr iostate failbit;
|
||||||
|
static constexpr iostate eofbit;
|
||||||
protected:
|
protected:
|
||||||
// Force this to be a non-trivial type.
|
// Force this to be a non-trivial type.
|
||||||
ios_base() {};
|
ios_base() {};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user