Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
_tuple_traits.h
Go to the documentation of this file.
1// -*- C++ -*-
2
30#ifndef _RWSTD_RW_TUPLE_TRAITS_INCLUDED
31# define _RWSTD_RW_TUPLE_TRAITS_INCLUDED
32
33# include <rw/_defs.h>
34
35# if !defined _RWSTD_NO_EXT_CXX_0X \
36 && !defined _RWSTD_NO_VARIADIC_TEMPLATES
37
38# include <rw/_meta_help.h> // for __rw_true_type
39
40
42
43
44// [20.3.1.1] tuple traits
45
46template <class _Type, class _Alloc>
47struct uses_allocator;
48
49template <class... _Types, class _Alloc>
50struct uses_allocator<tuple<_Types...>, _Alloc>
51 : _RW::__rw_true_type
52{
53 // empty
54};
55
56
57template <class _Type>
58struct constructible_with_allocator_prefix;
59
60template <class... _Types>
61struct constructible_with_allocator_prefix<tuple<_Types...> >
62 : _RW::__rw_true_type
63{
64 // empty
65};
66
67
68} // namespace std
69
70
71# endif // !defined _RWSTD_NO_EXT_CXX_0X
72 // && !defined _RWSTD_NO_VARIADIC_TEMPLATES
73
74#endif // _RWSTD_RW_TUPLE_TRAITS_INCLUDED
#define _RWSTD_NAMESPACE(name)
Definition _defs.h:567
Definition json.h:5363