Boost logo

Boost :

Subject: Re: [boost] [type trait extension] I hate volatile...
From: Frédéric Bron (frederic.bron_at_[hidden])
Date: 2011-07-23 01:19:17


> Indeed, this is weird.  I would hope that operator--(int volatile&, int) at
> least returns a consistent result :)

Not looked at yet in detail.
I have filed a bug to g++
(http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49812) which has been
accepted.

> At the end of the day, it's sounding like you should just paste a huge
> warning somewhere in the library concerning volatile-qualified by-value
> return types.

That's what I am prepared to do because it becomes too tricky.

Frédéric


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