Main Page   Reference Manual   Namespace List   Compound List   Namespace Members   Compound Members   File Members  

private_internal_stringbuf.h
Go to the documentation of this file.
1 // $Header$
2 //
3 // Copyright (C) 2003 - 2004, by
4 //
5 // Carlo Wood, Run on IRC <carlo@alinoe.com>
6 // RSA-1024 0x624ACAD5 1997-01-26 Sign & Encrypt
7 // Fingerprint16 = 32 EC A7 B6 AC DB 65 A6 F6 F6 55 DD 1C DC FF 61
8 //
9 // This file may be distributed under the terms of the Q Public License
10 // version 1.0 as appearing in the file LICENSE.QPL included in the
11 // packaging of this file.
12 //
13 
18 #ifndef LIBCWD_PRIVATE_INTERNAL_STRINGBUF_H
19 #define LIBCWD_PRIVATE_INTERNAL_STRINGBUF_H
20 
21 #ifndef LIBCWD_CONFIG_H
22 #include <libcwd/config.h>
23 #endif
24 #ifndef LIBCWD_PRIVATE_ALLOCATOR_H
26 #endif
27 #if CWDEBUG_DEBUGM && !defined(LIBCWD_PRIVATE_STRUCT_TSD_H)
29 #endif
30 #ifndef LIBCW_SSTREAM
31 #define LIBCW_SSTREAM
32 #include <sstream>
33 #endif
34 
35 namespace libcwd {
36  namespace _private_ {
37 
38 #if CWDEBUG_ALLOC
39 typedef ::std::basic_stringbuf<char, ::std::char_traits<char>, ::libcwd::_private_::auto_internal_allocator> auto_internal_stringbuf;
40 #else
41 typedef ::std::stringbuf auto_internal_stringbuf;
42 #endif
43 
44  } // namespace _private_
45 } // namespace libcwd
46 
47 #endif // LIBCWD_PRIVATE_INTERNAL_STRINGBUF_H
Copyright © 2001 - 2004 Carlo Wood.  All rights reserved.