Photon microGUI widgets library 0.6.0
sstream.hpp
1#ifndef _STDEX_SSTREAM_H
2#define _STDEX_SSTREAM_H
3
4#if _MSC_VER > 1000
5#pragma once
6#endif // _MSC_VER > 1000
7
8// stdex includes
9/*none*/
10
11// POSIX includes
12/*none*/
13
14#ifdef _STDEX_NATIVE_CPP_98_SUPPORT
15// std includes
16#include <sstream>
17
18namespace stdex
19{
20 using std::basic_istringstream;
21 using std::basic_ostringstream;
22 using std::basic_stringstream;
23 using std::basic_stringbuf;
24
25 using std::istringstream;
26 using std::ostringstream;
27 using std::stringstream;
28 using std::stringbuf;
29
30 using std::wistringstream;
31 using std::wostringstream;
32 using std::wstringstream;
33 using std::wstringbuf;
34}
35#else
36// std includes
37#include <strstream>
38
39namespace stdex
40{
41 //typedef basic_istringstream;
42 //typedef basic_ostringstream;
43 //typedef basic_stringstream;
44 //typedef basic_stringbuf;
45
46 //typedef istringstream;
47 //typedef ostringstream;
48 typedef std::strstream stringstream;
49 //typedef stringbuf;
50
51 //typedef wistringstream;
52 //typedef wostringstream;
53 typedef stringstream wstringstream; // temporarily, need to be redone
54 //typedef wstringbuf;
55}
56
57
58#endif // _STDEX_NATIVE_CPP_98_SUPPORT
59
60#endif // _STDEX_SSTREAM_H