mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 00:32:57 -04:00
parser-inc: properly namespace iostream definitions
This commit is contained in:
parent
f990f816b8
commit
036d2c2548
@ -44,9 +44,12 @@ namespace std {
|
|||||||
typedef basic_stringstream<char> stringstream;
|
typedef basic_stringstream<char> stringstream;
|
||||||
|
|
||||||
typedef basic_filebuf<char> filebuf;
|
typedef basic_filebuf<char> filebuf;
|
||||||
typedef basic_ifstream<char> ifstream;
|
//typedef basic_ifstream<char> ifstream;
|
||||||
typedef basic_ofstream<char> ofstream;
|
//typedef basic_ofstream<char> ofstream;
|
||||||
typedef basic_fstream<char> fstream;
|
//typedef basic_fstream<char> fstream;
|
||||||
|
class ifstream;
|
||||||
|
class ofstream;
|
||||||
|
class fstream;
|
||||||
|
|
||||||
typedef basic_syncbuf<char> syncbuf;
|
typedef basic_syncbuf<char> syncbuf;
|
||||||
typedef basic_osyncstream<char> osyncstream;
|
typedef basic_osyncstream<char> osyncstream;
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
// iostream classes, but we do need to know the classnames that are
|
// iostream classes, but we do need to know the classnames that are
|
||||||
// available.
|
// available.
|
||||||
|
|
||||||
|
namespace std {
|
||||||
class ostream : virtual public ios {
|
class ostream : virtual public ios {
|
||||||
__published:
|
__published:
|
||||||
ostream(const ostream&) = delete;
|
ostream(const ostream&) = delete;
|
||||||
@ -83,5 +84,6 @@ __published:
|
|||||||
extern istream cin;
|
extern istream cin;
|
||||||
extern ostream cout;
|
extern ostream cout;
|
||||||
extern ostream cerr;
|
extern ostream cerr;
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user