|
Boost : |
From: Matthias Schabel (boost_at_[hidden])
Date: 2007-01-29 23:24:43
>> So far that seems to run true if you use the highest optimization
>> level
>> for g++. In VC++ I'm finding otherwise.
>>
>
> The cause is probably that quantity defines a destructor. It does
> exactly
> what the compiler generated one does, so there is no reason to
> define it
> explicitly. Just comment it out. msvc refuses to inline any
> function that
> returns a type with a non-trivial destructor when exceptions are
> enabled.
Stephen,
Thanks for the suggestion - once I get my hands on a system with
Visual C++, I'll give your
idea a try and see if this improves the performance. Interesting non-
feature, that...
Matthias
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk