Boost logo

Boost :

From: Marco Costalba (mcostalba_at_[hidden])
Date: 2007-10-02 15:15:06


On 10/2/07, Marco <mrcekets_at_[hidden]> wrote:
>
> However your last changes makes the code too complicated, IMO.
> I made up a metafunction called wrapper that should do the work.
>

Yes your metafunction is nice but I wanted to reuse the same
'do_compose' struct already used for getting the linear hineritance
adding only a couple of lines (2 in the primary template, 1 in the
specialization).

Your is a general metafunction wrapper, my hack is very tailored for
this task only.

Marco


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