Main Page
Reference Manual
Namespace List
Compound List
Namespace Members
Compound Members
File Members
libcwd
private_string.h
Go to the documentation of this file.
1
// $Header$
2
//
3
// Copyright (C) 2002 - 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_STRING_H
19
#define LIBCWD_PRIVATE_STRING_H
20
21
#ifndef LIBCWD_CONFIG_H
22
#include <
libcwd/config.h
>
23
#endif
24
#ifndef LIBCWD_PRIVATE_ALLOCATOR_H
25
#include <
libcwd/private_allocator.h
>
26
#endif
27
#ifndef LIBCW_STRING
28
#define LIBCW_STRING
29
#include <string>
30
#endif
31
32
namespace
libcwd {
33
namespace
_private_ {
34
35
// This is the string type that we use in Multi Threaded internal functions.
36
#if CWDEBUG_ALLOC
37
typedef ::std::basic_string<char, ::std::char_traits<char>, userspace_allocator> string;
38
#else
39
typedef ::std::string string;
40
#endif
41
42
}
// namespace _private_
43
}
// namespace libcwd
44
45
#endif // LIBCWD_PRIVATE_INTERNAL_STRING_H
46
config.h
private_allocator.h
Copyright © 2001 - 2004 Carlo Wood. All rights reserved.