forked from boostorg/concept_check
Drop dependency on Boost.Mpl
This commit is contained in:
1 parent
7226a74471
commit
bbf48ff290
9 files changed
+25
-26
No files matched your search
@@ -6,7 +6,7 @@
|
||||
|
||||
# ifdef BOOST_OLD_CONCEPT_SUPPORT
|
||||
# include <boost/concept_check/has_constraints.hpp>
|
||||
# include <boost/mpl/if.hpp>
|
||||
# include <boost/type_traits/conditional.hpp>
|
||||
# endif
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ namespace boost
|
||||
|
||||
template <class Model>
|
||||
struct concept_check_<void(*)(Model)>
|
||||
: mpl::if_c<
|
||||
: conditional<
|
||||
concept_checking::has_constraints<Model>::value
|
||||
, constraint_check<Model>
|
||||
, concept_check<Model>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
# ifdef BOOST_OLD_CONCEPT_SUPPORT
|
||||
# include <boost/concept_check/has_constraints.hpp>
|
||||
# include <boost/mpl/if.hpp>
|
||||
# include <boost/type_traits/conditional.hpp>
|
||||
# endif
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ namespace boost
|
||||
|
||||
template <class Model>
|
||||
struct concept_check
|
||||
: mpl::if_c<
|
||||
: conditional<
|
||||
concept_checking::has_constraints<Model>::value
|
||||
, concept_checking::constraint_check<Model>
|
||||
, concept_checking::concept_check_<Model>
|
||||
|
||||
Reference in new issue
Block a user