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.
is_float.hpp in vendors/XIOS/current/extern/boost/include/boost/type_traits – NEMO

source: vendors/XIOS/current/extern/boost/include/boost/type_traits/is_float.hpp @ 3408

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

importing initial XIOS vendor drop

  • Property svn:keywords set to Id
File size: 997 bytes
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_TYPE_TRAITS_IS_FLOAT_HPP_INCLUDED
10#define BOOST_TYPE_TRAITS_IS_FLOAT_HPP_INCLUDED
11
12// should be the last #include
13#include <boost/type_traits/detail/bool_trait_def.hpp>
14
15namespace boost {
16
17//* is a type T a floating-point type described in the standard (3.9.1p8)
18BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_float,T,false)
19BOOST_TT_AUX_BOOL_TRAIT_CV_SPEC1(is_float,float,true)
20BOOST_TT_AUX_BOOL_TRAIT_CV_SPEC1(is_float,double,true)
21BOOST_TT_AUX_BOOL_TRAIT_CV_SPEC1(is_float,long double,true)
22
23} // namespace boost
24
25#include <boost/type_traits/detail/bool_trait_undef.hpp>
26
27#endif // BOOST_TYPE_TRAITS_IS_FLOAT_HPP_INCLUDED
Note: See TracBrowser for help on using the repository browser.