Boost Users :
Subject: Re: [Boost-users] Needs advices on design ( mpl or processor )
From: Larry Evans (cppljevans_at_[hidden])
Date: 2012-01-09 19:19:03
On 01/09/12 12:01, Larry Evans wrote:
> On 01/09/12 03:27, Allan Nielsen wrote:
>> Sorry, I have been away from my computer doing the weekend. I'm
>> looking at your suggested code, and the questions you have raised now.
>> I will answer as soon as possible.
>> Best regards
>> Allan W. Nielsen
> The attached has output which shows the structure of the type and
> shows that the last Enum passed to template has least offset, which
> you might find counterintuitive. The only solution I can think of
> is to reverse the args.
Another solution is to use:
as in the attached. This version does not use CRTP because
the if_recur template makes it unnecessary.
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