|
Boost Users : |
Subject: Re: [Boost-users] [phoenix] Extending actors
From: paul Fultz (pfultz2_at_[hidden])
Date: 2012-02-25 09:23:45
Ok Thanks. I was looking at the specializations and didn't even see the enable parameters.
----- Original Message -----
> From: Thomas Heller <thom.heller_at_[hidden]>
> To: boost-users_at_[hidden]
> Cc:
> Sent: Saturday, February 25, 2012 7:43 AM
> Subject: Re: [Boost-users] [phoenix] Extending actors
>
> On 02/24/2012 06:11 PM, paul Fultz wrote:
>> Thanks so much for the help. A couple more questions:
>>
>> 1) Is it possible to add an enable parameter to is_actor in futureversions
> of phoenix?
>
> is_actor is defined as:
>
> namespace boost { namespace phoenix
> {
> ///////////////////////////////////////////////////////////////////////////////
> //
> // is_actor<T>
> //
> // Tests if T is an actor. Evaluates to mpl::true_ or mpl::false_
> //
> ///////////////////////////////////////////////////////////////////////////////
>
> template <typename T, typename Enable = void>
> struct is_actor
> : mpl::false_
> {};
> }}
>
>
>> 2) Is the is_actor trait used internally by phoenix? The reason I ask is I
> am thinking
>> about using my own is_actor trait for my extended actors unitl maybe this
> gets updated
>> in boost.
>
> At the moment it is not really used internally by phoenix. But it is used by,
> for example spirit.
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net