Boost logo

Boost :

Subject: Re: [boost] [TypeTraits] is it possible to add something to boost.type_traits?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-12-16 23:03:53


AMDG

Gottlob Frege wrote:
> I think, actually, if operator, is implemented for T, then the
> comma-operator-trick no longer works, and we can't figure out most/any
> of the other operators either. See
> http://cpp-next.com/archive/2009/10/this-week-in-boost/#more-746
>

It still mostly works. There's only a problem if operator, returns
void--and you can add as many calls to operator, as you want.
There will only be an error if all the ones up to the last return
non-void and the last one does return void.

In Christ,
Steven Watanabe


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