00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00018 #ifndef LIBCWD_PRIVATE_INTERNAL_STRING_H
00019 #define LIBCWD_PRIVATE_INTERNAL_STRING_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 #ifndef LIBCW_STRING
00028 #define LIBCW_STRING
00029 #include <string>
00030 #endif
00031
00032 namespace libcwd {
00033 namespace _private_ {
00034
00035
00036 #if CWDEBUG_ALLOC
00037 typedef ::std::basic_string<char, ::std::char_traits<char>, internal_allocator> internal_string;
00038 #else
00039 typedef ::std::string internal_string;
00040 #endif
00041
00042 }
00043 }
00044
00045 #endif // LIBCWD_PRIVATE_INTERNAL_STRING_H
00046