Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
ti_string.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_BASIC_STRING 1
33#define _RWSTD_INSTANTIATE_CHAR 1
34
35#include <rw/_defs.h>
36
37#undef _RWSTD_NO_TEMPLATE_DEFINITIONS
38
39#include <string>
40
41// verify that the macros are defined in a consistent way:
42// when _RWSTD_DEFINE_TEMPLATE() is non-zero, exactly one
43// of XXX_FIRST() and XXX_LAST() must be non-zero
44// otherwise, when _RWSTD_DEFINE_TEMPLATE() is zero all
45// three macros must be zero
46
47#if _RWSTD_DEFINE_TEMPLATE (_BASIC_STRING) \
48 != ( _RWSTD_DEFINE_TEMPLATE_FIRST (_BASIC_STRING) \
49 ^ _RWSTD_DEFINE_TEMPLATE_LAST (_BASIC_STRING))
50# error _RWSTD_DEFINE_TEMPLATE definitions inconsistent
51#endif