From: Darin Adler (darin_at_[hidden])
Date: 2002-08-27 13:26:56
On Tuesday, August 27, 2002, at 10:50 AM, Fernando Cacciola wrote:
> As for the mutable problem: the only solution I can think of is to
> resort to
> 'is_const<>' to select how the data member 'x' is defined in the
> I've been trying not to do that in order to avoid a dependency with
> traits, for it seems that I can't do without it, after all.
It seems to me that you can make a version for the better quality
compilers that uses the overloaded functions. And then a version for
the compilers that don't have a problem that depends on type traits.
But perhaps the check to see if the compiler has the problem is just a
big a burden as type traits itself.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk