forked from boostorg/concept_check
Small changes to support new iterator adaptors in sandbox
[SVN r18212]
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
#include <utility>
|
||||
#include <boost/type_traits/conversion_traits.hpp>
|
||||
#include <boost/static_assert.hpp>
|
||||
#include <boost/type.hpp>
|
||||
#include <boost/mpl/identity.hpp>
|
||||
|
||||
|
||||
#if defined(BOOST_MSVC) && BOOST_MSVC <= 1300 || defined(__BORLANDC__)
|
||||
@@ -43,7 +43,7 @@ template <class T> inline void ignore_unused_variable_warning(const T&) { }
|
||||
|
||||
// the unused, defaulted parameter is a workaround for MSVC and Compaq C++
|
||||
template <class Concept>
|
||||
inline void function_requires(type<Concept>* = 0)
|
||||
inline void function_requires(mpl::identity<Concept>* = 0)
|
||||
{
|
||||
#if !defined(NDEBUG)
|
||||
void (Concept::*x)() = BOOST_FPTR Concept::constraints;
|
||||
|
Reference in New Issue
Block a user