1#ifndef _STLP_PTRS_SPECIALIZE_H
2#define _STLP_PTRS_SPECIALIZE_H
4#if defined (_STLP_CLASS_PARTIAL_SPECIALIZATION) || \
5 (defined (_STLP_SIMULATE_PARTIAL_SPEC_FOR_TYPE_TRAITS) && !defined (_STLP_NO_ARROW_OPERATOR))
6# define _STLP_POINTERS_SPECIALIZE( _TpP )
7# define _STLP_DEFINE_ARROW_OPERATOR pointer operator->() const { return &(operator*()); }
9# ifndef _STLP_TYPE_TRAITS_H
14# if defined ( _STLP_NO_ARROW_OPERATOR )
16# define _STLP_DEFINE_ARROW_OPERATOR
19# if defined (__BORLANDC__)
20# define _STLP_DEFINE_ARROW_OPERATOR pointer operator->() const { return &(*(*this)); }
21# elif defined(__WATCOMC__)
22# define _STLP_DEFINE_ARROW_OPERATOR pointer operator->() const { reference x = operator*(); return &x; }
24# define _STLP_DEFINE_ARROW_OPERATOR pointer operator->() const { return &(operator*()); }
30# ifdef _STLP_SIMULATE_PARTIAL_SPEC_FOR_TYPE_TRAITS
31# define _STLP_TYPE_TRAITS_POD_SPECIALIZE_V(_Type)
32# define _STLP_TYPE_TRAITS_POD_SPECIALIZE(_Type)
34# define _STLP_TYPE_TRAITS_POD_SPECIALIZE(_Type) _STLP_TEMPLATE_NULL struct __type_traits<_Type> : __type_traits_aux<__true_type> {};
35# define _STLP_TYPE_TRAITS_POD_SPECIALIZE_V(_Type) \
36_STLP_TYPE_TRAITS_POD_SPECIALIZE(_Type*) \
37_STLP_TYPE_TRAITS_POD_SPECIALIZE(const _Type*) \
38_STLP_TYPE_TRAITS_POD_SPECIALIZE(_Type**) \
39_STLP_TYPE_TRAITS_POD_SPECIALIZE(_Type* const *) \
40_STLP_TYPE_TRAITS_POD_SPECIALIZE(const _Type**) \
41_STLP_TYPE_TRAITS_POD_SPECIALIZE(_Type***) \
42_STLP_TYPE_TRAITS_POD_SPECIALIZE(const _Type***)
45# define _STLP_POINTERS_SPECIALIZE(_Type) _STLP_TYPE_TRAITS_POD_SPECIALIZE_V(_Type)
49# if !defined ( _STLP_NO_BOOL )
53# ifndef _STLP_NO_SIGNED_BUILTINS
66# if !defined ( _STLP_NO_LONG_DOUBLE )
69# if defined ( _STLP_LONG_LONG)
73# if defined ( _STLP_HAS_WCHAR_T ) && ! defined (_STLP_WCHAR_T_IS_USHORT)
79# undef _STLP_ARROW_SPECIALIZE
80# undef _STLP_TYPE_TRAITS_POD_SPECIALIZE_V
#define _STLP_TYPE_TRAITS_POD_SPECIALIZE_V(_Type)
#define _STLP_POINTERS_SPECIALIZE(_Type)
#define _STLP_BEGIN_NAMESPACE
#define _STLP_END_NAMESPACE