Boost logo

Boost :

Subject: Re: [boost] [proto] Problems with operator <<
From: John Maddock (boost.regex_at_[hidden])
Date: 2011-08-27 08:42:17


> In this case, I would define a separate is_big_number trait like:
>
> template<typename T>
> struct is_big_number_ptr : mpl::false_ {};
>
> template<typename Arg>
> struct is_big_number_ptr<big_number<Arg>*> : mpl::true_ {};
>
> and use the trick with proto::and_ and proto::if_ that I gave you before.

Thanks, that gets it!

John.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk