From 27a6d3632769dd00d869bc9b5d0a5ca00d7dfada Mon Sep 17 00:00:00 2001 From: Beman Date: Sun, 25 Jan 2015 10:20:45 -0500 Subject: [PATCH] Add "C++03 support for C++11 features" Section at the suggestion of Philip Bennefall. --- doc/index.html | 43 +++++++++++++++++++++++++++++++++++++++---- 1 file changed, 39 insertions(+), 4 deletions(-) diff --git a/doc/index.html b/doc/index.html index 27e0b10..fd1b313 100644 --- a/doc/index.html +++ b/doc/index.html @@ -57,6 +57,7 @@ requested by formal review
   Other changes since formal review
Compatibility with interim releases
+C++03 support for C++11 features
Acknowledgements
@@ -164,8 +165,9 @@ integers. The types may be aligned.

-

Boost Endian is a header-only library. C++03 compilers are supported. C++11 features -affecting interfaces, such as noexcept, are used only if available.

+

Boost Endian is a header-only library. C++11 features +affecting interfaces, such as noexcept, are used only if available. +See C++03 support for C++11 features for details.

Choosing between conversion functions, buffer types, and arithmetic types

@@ -492,18 +494,51 @@ BOOST_ENDIAN_DEPRECATED_NAMES be defined. It should only be used while transitioning to the official Boost release of the library as it will be removed in some future release.

+

C++03 support for C++11 features

+ + + + + + + + + + + + + + + + + + +
C++11 FeatureAction with C++03 Compilers
Scoped enums Uses header + + boost/core/scoped_enum.hpp + to emulate C++11 scoped enums.
noexceptUses BOOST_NOEXCEPT macro, which is defined as + null for C++03.
C++11 PODs (N2342)Takes advantage of C++03 compilers often + relaxing C++03 POD rules, but see Limitations + here and + here. Also see macros for explicit + POD control here and + here.
+

Acknowledgements

Comments and suggestions were received from Adder, Benaka Moorthi, Christopher Kohlhoff, Cliff Green, Daniel James, Gennaro Proto, Giovanni Piero Deretta, Gordon Woodhull, dizzy, Hartmut Kaiser, Jeff Flinn, Jeremy Maitin-Shepard, John Filo, John Maddock, Kim Barrett, Marsh Ray, Martin Bonner, Mathias Gaunard, Matias -Capeletto, Neil Mayhew, Paul Bristow, Pierre Talbot, Phil Endecott, Pyry Jahkola, +Capeletto, Neil Mayhew, Paul Bristow, Peter Dimov, Pierre Talbot, Phil Endecott, + +Philip +Bennefall, Pyry Jahkola, Rene Rivera, Robert Stewart, Roland Schwarz, Scott McMurray, Sebastian Redl, Tim Blechmann, Tim Moore, tymofey, Tomas Puverle, Vincente Botet, Yuval Ronen and Vitaly Budovsk. Apologies if anyone has been missed.


Last revised: -19 January, 2015

+25 January, 2015

© Copyright Beman Dawes, 2011, 2013

Distributed under the Boost Software License, Version 1.0. See www.boost.org/ LICENSE_1_0.txt