|
Boost : |
Subject: Re: [boost] safe-bool CRTP class
From: Bryce Lelbach (blelbach_at_[hidden])
Date: 2011-05-27 18:41:05
On 2011.05.27_13.13.06, Steven Watanabe wrote:
> What about a macro that can be used like
>
> BOOST_EXPLICIT_BOOL_OPERATOR() const {
> return ...;
> }
>
> In Christ,
> Steven Watanabe
I like the macro approach, personally, though the one I use works a little
differently (see my earlier post in this thread). The MACRO() qualifier { ... }
interface you suggested seems more reasonable than mine.
-- Bryce Lelbach aka wash boost-spirit.com px.cct.lsu.edu github.com/lll-project
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk