Loading include/boost/boost_version.txt +1 −1 Original line number Diff line number Diff line boost version: 1_43_0 boost version: 1_44_0 include/boost/concept/detail/backward_compatibility.hpp 0 → 100644 +16 −0 Original line number Diff line number Diff line // Copyright David Abrahams 2009. 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) #ifndef BOOST_CONCEPT_BACKWARD_COMPATIBILITY_DWA200968_HPP # define BOOST_CONCEPT_BACKWARD_COMPATIBILITY_DWA200968_HPP namespace boost { namespace concepts {} # if !defined(BOOST_NO_CONCEPTS) && !defined(BOOST_CONCEPT_NO_BACKWARD_KEYWORD) namespace concept = concepts; # endif } // namespace boost::concept #endif // BOOST_CONCEPT_BACKWARD_COMPATIBILITY_DWA200968_HPP include/boost/concept/detail/borland.hpp +3 −2 Original line number Diff line number Diff line Loading @@ -5,8 +5,9 @@ # define BOOST_CONCEPT_DETAIL_BORLAND_DWA2006429_HPP # include <boost/preprocessor/cat.hpp> # include <boost/concept/detail/backward_compatibility.hpp> namespace boost { namespace concept { namespace boost { namespace concepts { template <class ModelFnPtr> struct require; Loading @@ -21,7 +22,7 @@ struct require<void(*)(Model)> enum \ { \ BOOST_PP_CAT(boost_concept_check,__LINE__) = \ boost::concept::require<ModelFnPtr>::instantiate \ boost::concepts::require<ModelFnPtr>::instantiate \ } }} // namespace boost::concept Loading include/boost/concept/detail/general.hpp +15 −6 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ # define BOOST_CONCEPT_DETAIL_GENERAL_DWA2006429_HPP # include <boost/preprocessor/cat.hpp> # include <boost/concept/detail/backward_compatibility.hpp> # ifdef BOOST_OLD_CONCEPT_SUPPORT # include <boost/concept/detail/has_constraints.hpp> Loading @@ -13,7 +14,7 @@ // This implementation works on Comeau and GCC, all the way back to // 2.95 namespace boost { namespace concept { namespace boost { namespace concepts { template <class ModelFn> struct requirement_; Loading @@ -29,6 +30,14 @@ struct requirement static void failed() { ((Model*)0)->~Model(); } }; struct failed {}; template <class Model> struct requirement<failed ************ Model::************> { static void failed() { ((Model*)0)->~Model(); } }; # ifdef BOOST_OLD_CONCEPT_SUPPORT template <class Model> Loading @@ -40,9 +49,9 @@ struct constraint template <class Model> struct requirement_<void(*)(Model)> : mpl::if_< concept::not_satisfied<Model> concepts::not_satisfied<Model> , constraint<Model> , requirement<Model> , requirement<failed ************ Model::************> >::type {}; Loading @@ -51,14 +60,14 @@ struct requirement_<void(*)(Model)> // For GCC-2.x, these can't have exactly the same name template <class Model> struct requirement_<void(*)(Model)> : requirement<Model> : requirement<failed ************ Model::************> {}; # endif # define BOOST_CONCEPT_ASSERT_FN( ModelFnPtr ) \ typedef ::boost::concept::detail::instantiate< \ &::boost::concept::requirement_<ModelFnPtr>::failed> \ typedef ::boost::concepts::detail::instantiate< \ &::boost::concepts::requirement_<ModelFnPtr>::failed> \ BOOST_PP_CAT(boost_concept_check,__LINE__) }} Loading include/boost/concept/detail/has_constraints.hpp +4 −2 Original line number Diff line number Diff line Loading @@ -6,7 +6,9 @@ # include <boost/mpl/bool.hpp> # include <boost/detail/workaround.hpp> namespace boost { namespace concept { # include <boost/concept/detail/backward_compatibility.hpp> namespace boost { namespace concepts { namespace detail { Loading Loading @@ -43,6 +45,6 @@ struct not_satisfied typedef mpl::bool_<value> type; }; }} // namespace boost::concept::detail }} // namespace boost::concepts::detail #endif // BOOST_CONCEPT_DETAIL_HAS_CONSTRAINTS_DWA2006429_HPP Loading
include/boost/boost_version.txt +1 −1 Original line number Diff line number Diff line boost version: 1_43_0 boost version: 1_44_0
include/boost/concept/detail/backward_compatibility.hpp 0 → 100644 +16 −0 Original line number Diff line number Diff line // Copyright David Abrahams 2009. 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) #ifndef BOOST_CONCEPT_BACKWARD_COMPATIBILITY_DWA200968_HPP # define BOOST_CONCEPT_BACKWARD_COMPATIBILITY_DWA200968_HPP namespace boost { namespace concepts {} # if !defined(BOOST_NO_CONCEPTS) && !defined(BOOST_CONCEPT_NO_BACKWARD_KEYWORD) namespace concept = concepts; # endif } // namespace boost::concept #endif // BOOST_CONCEPT_BACKWARD_COMPATIBILITY_DWA200968_HPP
include/boost/concept/detail/borland.hpp +3 −2 Original line number Diff line number Diff line Loading @@ -5,8 +5,9 @@ # define BOOST_CONCEPT_DETAIL_BORLAND_DWA2006429_HPP # include <boost/preprocessor/cat.hpp> # include <boost/concept/detail/backward_compatibility.hpp> namespace boost { namespace concept { namespace boost { namespace concepts { template <class ModelFnPtr> struct require; Loading @@ -21,7 +22,7 @@ struct require<void(*)(Model)> enum \ { \ BOOST_PP_CAT(boost_concept_check,__LINE__) = \ boost::concept::require<ModelFnPtr>::instantiate \ boost::concepts::require<ModelFnPtr>::instantiate \ } }} // namespace boost::concept Loading
include/boost/concept/detail/general.hpp +15 −6 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ # define BOOST_CONCEPT_DETAIL_GENERAL_DWA2006429_HPP # include <boost/preprocessor/cat.hpp> # include <boost/concept/detail/backward_compatibility.hpp> # ifdef BOOST_OLD_CONCEPT_SUPPORT # include <boost/concept/detail/has_constraints.hpp> Loading @@ -13,7 +14,7 @@ // This implementation works on Comeau and GCC, all the way back to // 2.95 namespace boost { namespace concept { namespace boost { namespace concepts { template <class ModelFn> struct requirement_; Loading @@ -29,6 +30,14 @@ struct requirement static void failed() { ((Model*)0)->~Model(); } }; struct failed {}; template <class Model> struct requirement<failed ************ Model::************> { static void failed() { ((Model*)0)->~Model(); } }; # ifdef BOOST_OLD_CONCEPT_SUPPORT template <class Model> Loading @@ -40,9 +49,9 @@ struct constraint template <class Model> struct requirement_<void(*)(Model)> : mpl::if_< concept::not_satisfied<Model> concepts::not_satisfied<Model> , constraint<Model> , requirement<Model> , requirement<failed ************ Model::************> >::type {}; Loading @@ -51,14 +60,14 @@ struct requirement_<void(*)(Model)> // For GCC-2.x, these can't have exactly the same name template <class Model> struct requirement_<void(*)(Model)> : requirement<Model> : requirement<failed ************ Model::************> {}; # endif # define BOOST_CONCEPT_ASSERT_FN( ModelFnPtr ) \ typedef ::boost::concept::detail::instantiate< \ &::boost::concept::requirement_<ModelFnPtr>::failed> \ typedef ::boost::concepts::detail::instantiate< \ &::boost::concepts::requirement_<ModelFnPtr>::failed> \ BOOST_PP_CAT(boost_concept_check,__LINE__) }} Loading
include/boost/concept/detail/has_constraints.hpp +4 −2 Original line number Diff line number Diff line Loading @@ -6,7 +6,9 @@ # include <boost/mpl/bool.hpp> # include <boost/detail/workaround.hpp> namespace boost { namespace concept { # include <boost/concept/detail/backward_compatibility.hpp> namespace boost { namespace concepts { namespace detail { Loading Loading @@ -43,6 +45,6 @@ struct not_satisfied typedef mpl::bool_<value> type; }; }} // namespace boost::concept::detail }} // namespace boost::concepts::detail #endif // BOOST_CONCEPT_DETAIL_HAS_CONSTRAINTS_DWA2006429_HPP