Boost logo

Boost :

Subject: Re: [boost] safe-bool CRTP class
From: Jeffrey Lee Hellrung, Jr. (jeffrey.hellrung_at_[hidden])
Date: 2011-05-28 15:29:21


On Sat, May 28, 2011 at 9:46 AM, Gottlob Frege <gottlobfrege_at_[hidden]>wrote:

> On Sat, May 28, 2011 at 9:22 AM, Krzysztof Czainski <1czajnik_at_[hidden]>
> wrote:
>
[...]

> > The first question is: should it be a CRTP class, or should it be a
> macro,
> > or both perhaps?
>
[...]

> I suspect that we should offer both versions.
>

What are the arguments for a CRTP solution over a macro solution?

- Jeff


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