Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2008-08-26 23:15:47


on Tue Aug 26 2008, "Niels Dekker - mail address until 2008-12-31" <nd_mail_address_valid_until_2008-12-31-AT-xs4all.nl> wrote:

> Michael Marcin wrote:
>> I think the only real way to get it right in every case is
>> to have the author of the type specify the proper traits.
>
> Okay, I give up. A generic way to tweak MSVC's "Swaptimization" just
> doesn't seem feasable without adding a /lot/ of template
> specializations.

What was wrong with my proposal?

You can't guarantee it will be right every time, but it's easy to
correct when wrong, and that would only take a very few specializations.

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

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