New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
remove_pointer.hpp in vendors/XIOS/current/extern/boost/include/boost/type_traits – NEMO

source: vendors/XIOS/current/extern/boost/include/boost/type_traits/remove_pointer.hpp @ 3428

Last change on this file since 3428 was 3428, checked in by rblod, 12 years ago

importing initial XIOS vendor drop

File size: 1.5 KB
Line 
1
2//  (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000.
3//  Use, modification and distribution are subject to the Boost Software License,
4//  Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
5//  http://www.boost.org/LICENSE_1_0.txt).
6//
7//  See http://www.boost.org/libs/type_traits for most recent version including documentation.
8
9#ifndef BOOST_TT_REMOVE_POINTER_HPP_INCLUDED
10#define BOOST_TT_REMOVE_POINTER_HPP_INCLUDED
11
12#include <boost/type_traits/broken_compiler_spec.hpp>
13#include <boost/config.hpp>
14#include <boost/detail/workaround.hpp>
15
16#if BOOST_WORKAROUND(BOOST_MSVC,<=1300)
17#include <boost/type_traits/msvc/remove_pointer.hpp>
18#endif
19
20// should be the last #include
21#include <boost/type_traits/detail/type_trait_def.hpp>
22
23namespace boost {
24
25#ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
26
27BOOST_TT_AUX_TYPE_TRAIT_DEF1(remove_pointer,T,T)
28BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(typename T,remove_pointer,T*,T)
29BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(typename T,remove_pointer,T* const,T)
30BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(typename T,remove_pointer,T* volatile,T)
31BOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(typename T,remove_pointer,T* const volatile,T)
32
33#elif !BOOST_WORKAROUND(BOOST_MSVC,<=1300)
34
35BOOST_TT_AUX_TYPE_TRAIT_DEF1(remove_pointer,T,typename boost::detail::remove_pointer_impl<T>::type)
36
37#endif
38
39} // namespace boost
40
41#include <boost/type_traits/detail/type_trait_undef.hpp>
42
43#endif // BOOST_TT_REMOVE_POINTER_HPP_INCLUDED
Note: See TracBrowser for help on using the repository browser.