forked from boostorg/concept_check
Concept: Remove obsolete MSVC version checks.
[SVN r86023]
This commit is contained in:
@@ -15,9 +15,6 @@ namespace boost {
|
|||||||
template <class Model, class More>
|
template <class Model, class More>
|
||||||
struct requires_ : More
|
struct requires_ : More
|
||||||
{
|
{
|
||||||
# if BOOST_WORKAROUND(BOOST_MSVC, <= 1300)
|
|
||||||
typedef typename More::type type;
|
|
||||||
# endif
|
|
||||||
BOOST_CONCEPT_ASSERT((Model));
|
BOOST_CONCEPT_ASSERT((Model));
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -34,9 +31,6 @@ struct _requires_
|
|||||||
template <int check, class Result>
|
template <int check, class Result>
|
||||||
struct Requires_ : ::boost::parameter::aux::unaryfunptr_arg_type<Result>
|
struct Requires_ : ::boost::parameter::aux::unaryfunptr_arg_type<Result>
|
||||||
{
|
{
|
||||||
# if BOOST_WORKAROUND(BOOST_MSVC, <= 1300)
|
|
||||||
typedef typename ::boost::parameter::aux::unaryfunptr_arg_type<Result>::type type;
|
|
||||||
# endif
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# if BOOST_WORKAROUND(BOOST_INTEL_WIN, BOOST_TESTED_AT(1010))
|
# if BOOST_WORKAROUND(BOOST_INTEL_WIN, BOOST_TESTED_AT(1010))
|
||||||
@@ -45,7 +39,7 @@ struct Requires_ : ::boost::parameter::aux::unaryfunptr_arg_type<Result>
|
|||||||
# define BOOST_CONCEPT_REQUIRES_(r,data,t) + (::boost::_requires_<void(*)t>::value)
|
# define BOOST_CONCEPT_REQUIRES_(r,data,t) + (::boost::_requires_<void(*)t>::value)
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
#if defined(NDEBUG) || BOOST_WORKAROUND(BOOST_MSVC, < 1300)
|
#if defined(NDEBUG)
|
||||||
|
|
||||||
# define BOOST_CONCEPT_REQUIRES(models, result) \
|
# define BOOST_CONCEPT_REQUIRES(models, result) \
|
||||||
typename ::boost::parameter::aux::unaryfunptr_arg_type<void(*)result>::type
|
typename ::boost::parameter::aux::unaryfunptr_arg_type<void(*)result>::type
|
||||||
|
Reference in New Issue
Block a user