X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=boost%2Fboost%2Ftype_traits%2Fis_compound.hpp;h=bbaaa42cd7ec9130515d07786b38895b0ce1b0dd;hb=43c09d723435a5b203f2ac0c39e2086de836b386;hp=88c1419fb5030b6e936ca309af4f07f3205a513e;hpb=e1644a68eb123c267a7ef2e651c66b788c38f03a;p=lyx.git diff --git a/boost/boost/type_traits/is_compound.hpp b/boost/boost/type_traits/is_compound.hpp index 88c1419fb5..bbaaa42cd7 100644 --- a/boost/boost/type_traits/is_compound.hpp +++ b/boost/boost/type_traits/is_compound.hpp @@ -1,24 +1,24 @@ -// (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000. -// Permission to copy, use, modify, sell and distribute this software is -// granted provided this copyright notice appears in all copies. This software -// is provided "as is" without express or implied warranty, and with no claim -// as to its suitability for any purpose. +// (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000. +// Use, modification and distribution are subject to 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 for most recent version including documentation. +// See http://www.boost.org/libs/type_traits for most recent version including documentation. #ifndef BOOST_TT_IS_COMPOUND_HPP_INCLUDED #define BOOST_TT_IS_COMPOUND_HPP_INCLUDED -#include "boost/config.hpp" -#include "boost/type_traits/is_fundamental.hpp" -#include "boost/type_traits/detail/ice_not.hpp" +#include +#include +#include // should be the last #include -#include "boost/type_traits/detail/bool_trait_def.hpp" +#include namespace boost { +#if !defined( __CODEGEARC__ ) namespace detail { template @@ -31,11 +31,16 @@ struct is_compound_impl }; } // namespace detail +#endif // !defined( __CODEGEARC__ ) +#if defined( __CODEGEARC__ ) +BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_compound,T,__is_compound(T)) +#else BOOST_TT_AUX_BOOL_TRAIT_DEF1(is_compound,T,::boost::detail::is_compound_impl::value) +#endif } // namespace boost -#include "boost/type_traits/detail/bool_trait_undef.hpp" +#include #endif // BOOST_TT_IS_COMPOUND_HPP_INCLUDED