00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00018 #ifndef LIBCWD_PRIVATE_INTERNAL_STRINGSTREAM_H
00019 #define LIBCWD_PRIVATE_INTERNAL_STRINGSTREAM_H
00020
00021 #ifndef LIBCWD_CONFIG_H
00022 #include <libcwd/config.h>
00023 #endif
00024 #ifndef LIBCWD_PRIVATE_ALLOCATOR_H
00025 #include <libcwd/private_allocator.h>
00026 #endif
00027 #if CWDEBUG_DEBUGM && !defined(LIBCWD_PRIVATE_STRUCT_TSD_H)
00028 #include <libcwd/private_struct_TSD.h>
00029 #endif
00030 #ifndef LIBCW_SSTREAM
00031 #define LIBCW_SSTREAM
00032 #include <sstream>
00033 #endif
00034
00035 namespace libcwd {
00036 namespace _private_ {
00037
00038 #if CWDEBUG_ALLOC
00039 typedef ::std::basic_stringstream<char, ::std::char_traits<char>, ::libcwd::_private_::auto_internal_allocator> auto_internal_stringstream;
00040 #else
00041 typedef ::std::stringstream auto_internal_stringstream;
00042 #endif
00043
00044 }
00045 }
00046
00047 #endif // LIBCWD_PRIVATE_INTERNAL_STRINGSTREAM_H