]> git.lyx.org Git - lyx.git/blob - boost/boost/type_traits/detail/false_result.hpp
update to boost 1.30.1
[lyx.git] / boost / boost / type_traits / detail / false_result.hpp
1 // Copyright David Abrahams 2002. Permission to copy, use,
2 // modify, sell and distribute this software is granted provided this
3 // copyright notice appears in all copies. This software is provided
4 // "as is" without express or implied warranty, and with no claim as
5 // to its suitability for any purpose.
6
7 #ifndef BOOST_TT_DETAIL_FALSE_RESULT_HPP_INCLUDED
8 #define BOOST_TT_DETAIL_FALSE_RESULT_HPP_INCLUDED
9
10 #include "boost/config.hpp"
11
12 namespace boost {
13 namespace type_traits {
14
15 // Utility class which always "returns" false
16 struct false_result
17 {
18     template <typename T> struct result_
19     {
20         BOOST_STATIC_CONSTANT(bool, value = false);
21     };
22 };
23
24 }} // namespace boost::type_traits
25
26 #endif // BOOST_TT_DETAIL_FALSE_RESULT_HPP_INCLUDED