|
Boost : |
Subject: Re: [boost] suggestion on assertion macros
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-03-12 14:59:37
AMDG
DE wrote:
> on 12.03.2010 at 20:34
> Steven Watanabe wrote :
>
>> If this isn't completely optimized away, and you actually
>> care, you should get a better compiler.
>>
> is that your own motto or the boost one?
> my point is: it's not always possible to do that
>
In this case, I'm perfectly serious. This is such a trivial compiler
optimization, that if it matters and the compiler doesn't do it,
you probably have much worse problems. As far as I know,
no Boost library worries about micro-optimization at this level.
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