blob: c11b5854e10237ae4e477ed1fe7162c1b048464d [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_TYPE_TRAITS_IS_FLOAT_HPP_INCLUDED
10#define NDNBOOST_TYPE_TRAITS_IS_FLOAT_HPP_INCLUDED
Jeff Thompsonf7d49942013-08-01 16:47:40 -070011
12// should be the last #include
Jeff Thompson2277ce52013-08-01 17:34:11 -070013#include <ndnboost/type_traits/detail/bool_trait_def.hpp>
Jeff Thompsonf7d49942013-08-01 16:47:40 -070014
15namespace ndnboost {
16
17//* is a type T a floating-point type described in the standard (3.9.1p8)
Jeff Thompson3d613fd2013-10-15 15:39:04 -070018NDNBOOST_TT_AUX_BOOL_TRAIT_DEF1(is_float,T,false)
19NDNBOOST_TT_AUX_BOOL_TRAIT_CV_SPEC1(is_float,float,true)
20NDNBOOST_TT_AUX_BOOL_TRAIT_CV_SPEC1(is_float,double,true)
21NDNBOOST_TT_AUX_BOOL_TRAIT_CV_SPEC1(is_float,long double,true)
Jeff Thompsonf7d49942013-08-01 16:47:40 -070022
23} // namespace ndnboost
24
Jeff Thompson2277ce52013-08-01 17:34:11 -070025#include <ndnboost/type_traits/detail/bool_trait_undef.hpp>
Jeff Thompsonf7d49942013-08-01 16:47:40 -070026
Jeff Thompson3d613fd2013-10-15 15:39:04 -070027#endif // NDNBOOST_TYPE_TRAITS_IS_FLOAT_HPP_INCLUDED