mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-11 16:31:09 +00:00
786216c089
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8404 a592a061-630c-0410-9148-cb99ea01b6c8
42 lines
1.2 KiB
C++
42 lines
1.2 KiB
C++
|
|
#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
|
|
//
|
|
// 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.
|
|
//
|
|
// See http://www.boost.org/libs/mpl for documentation.
|
|
|
|
#include "boost/mpl/bool_fwd.hpp"
|
|
#include "boost/mpl/aux_/config/static_constant.hpp"
|
|
|
|
namespace boost { namespace mpl {
|
|
|
|
template< bool C_ > struct bool_
|
|
{
|
|
BOOST_STATIC_CONSTANT(bool, value = C_);
|
|
typedef bool_ type;
|
|
typedef bool value_type;
|
|
operator bool() const { return this->value; }
|
|
};
|
|
|
|
#if !defined(BOOST_NO_INCLASS_MEMBER_INITIALIZATION)
|
|
template< bool C_ >
|
|
bool const bool_<C_>::value;
|
|
#endif
|
|
|
|
}} // namespace boost::mpl
|
|
|
|
#endif // BOOST_MPL_BOOL_HPP_INCLUDED
|