Boost logo

Boost :

From: Daniel Frey (daniel.frey_at_[hidden])
Date: 2002-11-11 04:36:57


John Maddock wrote:
>
> Can whoever added this one, please add it to the docs (as a feature macro).

That was me, although I have no CVS write access and Dave applied the
patch. Anyway, I will prepare a patch for
http://www.boost.org/libs/config/config.htm#user_settable when I have
some time. Anything else that needs to be done?

> Is it possible to test for this? If so can a test program be supplied
> please - the test program should compile and run only if the feature is
> available - see one of the boost_has_XXX.cxx files for examples.

AFAICS, Terje's program is correctly detecting it. I agree to the rest
of the discussion that this should be stable and independent of compiler
flags. The "broken" NRVO of the Intel compiler is not a problem for
operators.hpp, as it returns 'T' instead of 'const T', so the test
matches the current use of the NRVO. Thanks Terje.

Regards, Daniel

-- 
Daniel Frey
aixigo AG - financial training, research and technology
Schloß-Rahe-Straße 15, 52072 Aachen, Germany
fon: +49 (0)241 936737-42, fax: +49 (0)241 936737-99
eMail: daniel.frey_at_[hidden], web: http://www.aixigo.de

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