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

source: vendors/XIOS/current/extern/boost/include/boost/type_traits/detail/false_result.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: 767 bytes
Line 
1//  Copyright David Abrahams 2002.
2//  Use, modification and distribution are subject to the Boost Software License,
3//  Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
4//  http://www.boost.org/LICENSE_1_0.txt).
5//
6//  See http://www.boost.org/libs/type_traits for most recent version including documentation.
7
8
9#ifndef BOOST_TT_DETAIL_FALSE_RESULT_HPP_INCLUDED
10#define BOOST_TT_DETAIL_FALSE_RESULT_HPP_INCLUDED
11
12#include <boost/config.hpp>
13
14namespace boost {
15namespace type_traits {
16
17// Utility class which always "returns" false
18struct false_result
19{
20    template <typename T> struct result_
21    {
22        BOOST_STATIC_CONSTANT(bool, value = false);
23    };
24};
25
26}} // namespace boost::type_traits
27
28#endif // BOOST_TT_DETAIL_FALSE_RESULT_HPP_INCLUDED
Note: See TracBrowser for help on using the repository browser.