mirror of
https://github.com/boostorg/concept_check.git
synced 2025-08-06 07:54:43 +02:00
Add missing #include
[SVN r18260]
This commit is contained in:
@@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
#include <boost/iterator.hpp>
|
#include <boost/iterator.hpp>
|
||||||
|
#include <boost/mpl/identity.hpp>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
|
||||||
namespace boost {
|
namespace boost {
|
||||||
@@ -258,25 +259,25 @@ namespace boost {
|
|||||||
struct optag2 { };
|
struct optag2 { };
|
||||||
struct optag3 { };
|
struct optag3 { };
|
||||||
|
|
||||||
#define BOOST_DEFINE_BINARY_PREDICATE_ARCHETYPE(OP, NAME) \
|
#define BOOST_DEFINE_BINARY_PREDICATE_ARCHETYPE(OP, NAME) \
|
||||||
template <class Base = null_archetype<>, class Tag = optag1 > \
|
template <class Base = null_archetype<>, class Tag = optag1 > \
|
||||||
class NAME##_first_archetype : public Base { \
|
class NAME##_first_archetype : public Base { \
|
||||||
public: \
|
public: \
|
||||||
NAME##_first_archetype(detail::dummy_constructor x) : Base(x) { } \
|
NAME##_first_archetype(detail::dummy_constructor x) : Base(x) { } \
|
||||||
}; \
|
}; \
|
||||||
\
|
\
|
||||||
template <class Base = null_archetype<>, class Tag = optag1 > \
|
template <class Base = null_archetype<>, class Tag = optag1 > \
|
||||||
class NAME##_second_archetype : public Base { \
|
class NAME##_second_archetype : public Base { \
|
||||||
public: \
|
public: \
|
||||||
NAME##_second_archetype(detail::dummy_constructor x) : Base(x) { } \
|
NAME##_second_archetype(detail::dummy_constructor x) : Base(x) { } \
|
||||||
}; \
|
}; \
|
||||||
\
|
\
|
||||||
template <class BaseFirst, class BaseSecond, class Tag> \
|
template <class BaseFirst, class BaseSecond, class Tag> \
|
||||||
boolean_archetype \
|
boolean_archetype \
|
||||||
operator OP (const NAME##_first_archetype<BaseFirst, Tag>&, \
|
operator OP (const NAME##_first_archetype<BaseFirst, Tag>&, \
|
||||||
const NAME##_second_archetype<BaseSecond, Tag>&) \
|
const NAME##_second_archetype<BaseSecond, Tag>&) \
|
||||||
{ \
|
{ \
|
||||||
return boolean_archetype(static_object<detail::dummy_constructor>::get()); \
|
return boolean_archetype(static_object<detail::dummy_constructor>::get()); \
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOST_DEFINE_BINARY_PREDICATE_ARCHETYPE(==, equal_op)
|
BOOST_DEFINE_BINARY_PREDICATE_ARCHETYPE(==, equal_op)
|
||||||
|
Reference in New Issue
Block a user