]> git.lyx.org Git - lyx.git/blobdiff - boost/boost/mpl/bool.hpp
simplify Lexer use a bit
[lyx.git] / boost / boost / mpl / bool.hpp
index 5c3bab28419df23ddf016cdace9234b625dadb9e..8c09c423d2ba998101b7e303e4ecb739f078062c 100644 (file)
@@ -2,30 +2,28 @@
 #ifndef BOOST_MPL_BOOL_HPP_INCLUDED
 #define BOOST_MPL_BOOL_HPP_INCLUDED
 
-// + file: boost/mpl/bool.hpp
-// + last modified: 12/apr/03
-
-// Copyright (c) 2000-03
-// Aleksey Gurtovoy
+// Copyright Aleksey Gurtovoy 2000-2004
 //
-// Permission to use, copy, modify, distribute and sell this software
-// and its documentation for any purpose is hereby granted without fee, 
-// provided that the above copyright notice appears in all copies and 
-// that both the copyright notice and this permission notice appear in 
-// supporting documentation. No representations are made about the 
-// suitability of this software for any purpose. It is provided "as is" 
-// without express or implied warranty.
+// Distributed under the Boost Software License, Version 1.0. 
+// (See accompanying file LICENSE_1_0.txt or copy at 
+// http://www.boost.org/LICENSE_1_0.txt)
 //
 // See http://www.boost.org/libs/mpl for documentation.
 
-#include "boost/mpl/bool_fwd.hpp"
-#include "boost/mpl/aux_/config/static_constant.hpp"
+// $Source$
+// $Date: 2004-09-26 11:54:25 +0200 (Sun, 26 Sep 2004) $
+// $Revision: 25411 $
+
+#include <boost/mpl/bool_fwd.hpp>
+#include <boost/mpl/integral_c_tag.hpp>
+#include <boost/mpl/aux_/config/static_constant.hpp>
 
-namespace boost { namespace mpl {
+BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN
 
 template< bool C_ > struct bool_
 {
     BOOST_STATIC_CONSTANT(bool, value = C_);
+    typedef integral_c_tag tag;
     typedef bool_ type;
     typedef bool value_type;
     operator bool() const { return this->value; }
@@ -36,6 +34,6 @@ template< bool C_ >
 bool const bool_<C_>::value;
 #endif
 
-}} // namespace boost::mpl
+BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_CLOSE
 
 #endif // BOOST_MPL_BOOL_HPP_INCLUDED