mirror of
https://github.com/boostorg/phoenix.git
synced 2026-02-18 14:22:09 +00:00
include/boost/phoenix/core/detail/phx2_result.hpp Change check to check_ to avoid Mac macro
This commit is contained in:
@@ -23,13 +23,13 @@ namespace boost { namespace phoenix {
|
||||
typedef char (&no)[2];
|
||||
|
||||
template <typename A>
|
||||
static yes check(typename A::type *);
|
||||
static yes check_(typename A::type *);
|
||||
|
||||
|
||||
template <typename A>
|
||||
static no check(...);
|
||||
static no check_(...);
|
||||
|
||||
static bool const value = (sizeof(yes) == sizeof(check<Result>(0)));
|
||||
static bool const value = (sizeof(yes) == sizeof(check_<Result>(0)));
|
||||
typedef boost::mpl::bool_<value> type;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user