The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

dvi2bitmap  dvi2bitmap1.0
stringstream.h
Go to the documentation of this file.
1 /* This file is part of dvi2bitmap; see README for copyrights and licence */
2 
3 #ifndef STRINGSTREAM_H_LOADED
4 #define STRINGSTREAM_H_LOADED 1
5 
6 #include <config.h>
7 
8 #ifdef HAVE_SSTREAM
9 
10 #include <sstream>
11 #define SSTREAM ostringstream
12 #define SS_C_STR(s) (s).str().c_str()
13 #define SS_STRING(s) (s).str()
14 
15 using STD::ostringstream;
16 
17 #elif HAVE_STRSTREAM
18 
19 #include <strstream>
20 #define SSTREAM ostrstream
21 #define SS_C_STR(s) (s).str()
22 /* Add the end-of-string to the stringbuf and convert it to a string */
23 #define SS_STRING(s) ((s)<<ends,string((s).str()))
24 
25 using STD::ostrstream;
26 using STD::ends;
27 
28 #else
29 #error "Neither HAVE_SSTREAM nor HAVE_STRSTREAM is defined!"
30 #endif
31 
32 #endif /* STRINGSTREAM_H_LOADED */

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.