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

include/boost/phoenix/core/is_nullary.hpp #7730

This commit is contained in:
John Fletcher
2014-02-03 23:56:25 +00:00
parent ca61ea38bc
commit a98bcc0f5d

View File

@@ -137,12 +137,20 @@ namespace boost { namespace phoenix
struct is_nullary<T const >
: is_nullary<T>
{};
#ifdef BOOST_PHOENIX_SPECIALIZE_CUSTOM_TERMINAL
template <typename T>
struct is_nullary<custom_terminal<T>,
typename custom_terminal<T>::_is_default_custom_terminal >
: mpl::true_
{};
#else
template <typename T>
struct is_nullary<custom_terminal<T> >
: mpl::true_
{};
#endif
template <typename T>
struct is_nullary<custom_terminal<actor<T> > >
: evaluator