blob: fa097156cd9aa249127e1f440ceae97c45ea1d17 [file] [log] [blame]
Jeff Thompsonf7d49942013-08-01 16:47:40 -07001
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
Jeff Thompson3d613fd2013-10-15 15:39:04 -07009#ifndef NDNBOOST_TT_REMOVE_BOUNDS_HPP_INCLUDED
10#define NDNBOOST_TT_REMOVE_BOUNDS_HPP_INCLUDED
Jeff Thompsonf7d49942013-08-01 16:47:40 -070011
Jeff Thompson2277ce52013-08-01 17:34:11 -070012#include <ndnboost/config.hpp>
Jeff Thompsonf7d49942013-08-01 16:47:40 -070013#include <cstddef>
Jeff Thompson2277ce52013-08-01 17:34:11 -070014#include <ndnboost/detail/workaround.hpp>
Jeff Thompsonf7d49942013-08-01 16:47:40 -070015
Jeff Thompson3d613fd2013-10-15 15:39:04 -070016#if NDNBOOST_WORKAROUND(NDNBOOST_MSVC,<=1300)
Jeff Thompson2277ce52013-08-01 17:34:11 -070017#include <ndnboost/type_traits/msvc/remove_bounds.hpp>
Jeff Thompsonf7d49942013-08-01 16:47:40 -070018#endif
19
20// should be the last #include
Jeff Thompson2277ce52013-08-01 17:34:11 -070021#include <ndnboost/type_traits/detail/type_trait_def.hpp>
Jeff Thompsonf7d49942013-08-01 16:47:40 -070022
Jeff Thompson3d613fd2013-10-15 15:39:04 -070023#if !NDNBOOST_WORKAROUND(NDNBOOST_MSVC,<=1300)
Jeff Thompsonf7d49942013-08-01 16:47:40 -070024
25namespace ndnboost {
26
Jeff Thompson3d613fd2013-10-15 15:39:04 -070027NDNBOOST_TT_AUX_TYPE_TRAIT_DEF1(remove_bounds,T,T)
Jeff Thompsonf7d49942013-08-01 16:47:40 -070028
Jeff Thompson3d613fd2013-10-15 15:39:04 -070029#if !defined(NDNBOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) && !defined(NDNBOOST_NO_ARRAY_TYPE_SPECIALIZATIONS)
30NDNBOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_2(typename T,std::size_t N,remove_bounds,T[N],T type)
31NDNBOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_2(typename T,std::size_t N,remove_bounds,T const[N],T const type)
32NDNBOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_2(typename T,std::size_t N,remove_bounds,T volatile[N],T volatile type)
33NDNBOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_2(typename T,std::size_t N,remove_bounds,T const volatile[N],T const volatile type)
34#if !NDNBOOST_WORKAROUND(__BORLANDC__, NDNBOOST_TESTED_AT(0x610)) && !defined(__IBMCPP__) && !NDNBOOST_WORKAROUND(__DMC__, NDNBOOST_TESTED_AT(0x840))
35NDNBOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(typename T,remove_bounds,T[],T)
36NDNBOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(typename T,remove_bounds,T const[],T const)
37NDNBOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(typename T,remove_bounds,T volatile[],T volatile)
38NDNBOOST_TT_AUX_TYPE_TRAIT_PARTIAL_SPEC1_1(typename T,remove_bounds,T const volatile[],T const volatile)
Jeff Thompsonf7d49942013-08-01 16:47:40 -070039#endif
40#endif
41
42} // namespace ndnboost
43
44#endif
45
Jeff Thompson2277ce52013-08-01 17:34:11 -070046#include <ndnboost/type_traits/detail/type_trait_undef.hpp>
Jeff Thompsonf7d49942013-08-01 16:47:40 -070047
Jeff Thompson3d613fd2013-10-15 15:39:04 -070048#endif // NDNBOOST_TT_REMOVE_BOUNDS_HPP_INCLUDED