Re: [Boost-bugs] [Boost C++ Libraries] #7300: Custom terminals are always nullary

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7300: Custom terminals are always nullary
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-08-29 06:32:04


#7300: Custom terminals are always nullary
-------------------------------+--------------------------------------------
  Reporter: andysem | Owner: theller
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: phoenix
   Version: Boost 1.52.0 | Severity: Problem
Resolution: fixed | Keywords:
-------------------------------+--------------------------------------------

Comment (by andysem):

 Thanks for the answer, it worked. Could the specialization in
 Boost.Phoenix be made more specific (for example, by using the nested void
 type technique) so that it is possible to create more generic
 specializations in user's code, like this:

 {{{
 template< typename T >
 struct is_nullary< custom_terminal< T >, typename T::_is_my_terminal > :
     public mpl::false_
 {
 };
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7300#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC