2
0
mirror of https://github.com/boostorg/phoenix.git synced 2026-02-18 02:12:09 +00:00

core/value.hpp Take out is_value which is incorrect

This commit is contained in:
John Fletcher
2015-02-08 12:39:31 +00:00
parent 51f3084f5e
commit 77d16af8c8

View File

@@ -53,12 +53,17 @@ namespace boost { namespace phoenix
}
// Identifies this Expr as a value.
template <typename Expr>
struct is_value<actor<Expr> >
: mpl::true_
{};
// I think this is wrong. It is identifying all actors as values.
// Yes, it is giving false positives and needs a rethink.
// And this gives no positives.
//template <typename T>
//struct is_value<expression::value<T> >
// : mpl::true_
//{};
// Call out actor for special handling
// Is this correct? It applies to any actor.
// In which case why is it here?
template<typename Expr>
struct is_custom_terminal<actor<Expr> >
: mpl::true_