Boost logo

Boost :

Subject: Re: [boost] safe-bool CRTP class
From: Gottlob Frege (gottlobfrege_at_[hidden])
Date: 2011-05-28 00:28:45


On Fri, May 27, 2011 at 4:13 PM, Steven Watanabe <watanabesj_at_[hidden]> wrote:
>
> What about a macro that can be used like
>
> BOOST_EXPLICIT_BOOL_OPERATOR() const {
>    return ...;
> }
>
> In Christ,
> Steven Watanabe
>

+1. That's exactly what I was going to suggest (and I typically hate macros).

Tony


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