Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Main Page
Related Pages
Topics
Namespaces
Data Structures
Files
File List
Globals
EXTERNAL_HEADERS
RSL
src
instance.cpp
Go to the documentation of this file.
1
29
#define _RWSTD_LIB_SRC
30
31
#define _RWSTD_INSTANTIATE_TEMPLATES 1
32
#define _RWSTD_INSTANTIATE_STATIC_MUTEX 1
33
#define _RWSTD_INSTANTIATE_INT 1
34
35
#include <string>
36
#include <
rw/_mutex.h
>
37
38
#ifdef _RWSTD_NO_COLLAPSE_TEMPLATE_STATICS
39
40
_RWSTD_NAMESPACE
(
__rw
) {
41
42
#ifndef _RWSTD_NO_WCHAR_T
43
44
typedef
_STD::char_traits<wchar_t>
Traits
;
45
typedef
_STD::allocator<wchar_t>
Allocator
;
46
47
typedef
__string_ref<wchar_t, Traits, Allocator> StringRef;
48
49
#else
// if defined (_RWSTD_NO_WCHAR_T)
50
51
typedef
_STD::char_traits<char>
Traits
;
52
typedef
_STD::allocator<char>
Allocator
;
53
54
typedef
__string_ref<char, Traits, Allocator> StringRef;
55
56
#endif
// _RWSTD_NO_WCHAR_T
57
58
// FIXME: this won't work at all for other (non-char) specializations
59
// try to allocate enough space for std::wstring plus some overhead
60
_RWSTD_EXPORT
unsigned
long
61
__nullref [4 *
sizeof
(StringRef) /
sizeof
(
long
) + 2];
62
63
}
// namespace __rw
64
65
#endif
// _RWSTD_NO_COLLAPSE_TEMPLATE_STATICS
Allocator
#define Allocator
Definition
17.names.cpp:440
Traits
#define Traits
Definition
17.names.cpp:556
_RWSTD_EXPORT
#define _RWSTD_EXPORT
Definition
_defs.h:485
_RWSTD_NAMESPACE
#define _RWSTD_NAMESPACE(name)
Definition
_defs.h:567
_mutex.h
__rw
Definition
23.deque.iterators.cpp:50
Generated by
1.9.8