2
0
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:
John Fletcher
2014-01-25 23:39:18 +00:00
parent 9f0a70e457
commit cadcf3bd3b

View File

@@ -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;
};