Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
_meta_ptr.h
Go to the documentation of this file.
1
30#ifndef _RWSTD_RW_META_PTR_H_INCLUDED
31#define _RWSTD_RW_META_PTR_H_INCLUDED
32
33#include <rw/_defs.h>
34#include <rw/_meta_ref.h>
35
37
38template <class _TypeT>
39struct __rw_remove_pointer
40{
41 typedef _TypeT type;
42};
43
44template <class _TypeT>
45struct __rw_remove_pointer<_TypeT*>
46{
47 typedef _TypeT type;
48};
49
50#define _RWSTD_REMOVE_POINTER(T) _RW::__rw_remove_pointer<T>::type
51
52template <class _TypeT>
53struct __rw_add_pointer
54{
55 typedef typename
56 __rw_remove_reference<_TypeT>::type* type;
57};
58
59#define _RWSTD_ADD_POINTER(T) _RW::__rw_add_pointer<T>::type
60
61} // namespace __rw
62
63
64#endif // _RWSTD_RW_META_PTR_H_INCLUDED
65
#define _RWSTD_NAMESPACE(name)
Definition _defs.h:567