From c0fbae2d2abee524041878e5ffee375ec7b81667 Mon Sep 17 00:00:00 2001 From: Beman Date: Wed, 11 Feb 2015 09:02:58 -0500 Subject: [PATCH] Wording tweaks from Rob Stewart. Modify styles.css for more uniform presentation across browsers. --- doc/conversion.html | 18 ++++++++++-------- doc/styles.css | 8 ++++---- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/doc/conversion.html b/doc/conversion.html index c23617b..8ec3f0c 100644 --- a/doc/conversion.html +++ b/doc/conversion.html @@ -66,8 +66,9 @@ ordering. User defined types are also supported.

Reference

-

Functions are implemented inline if appropriate. noexcept is -elided for compilers that do not support it. +

Functions are implemented inline if appropriate. +For C++03 compilers, noexcept is +elided . Boost scoped enum emulation is used so that the library still works for compilers that do not support scoped enums.

 

@@ -76,7 +77,8 @@ Boost scoped enum emulation is used so that the library still works for compiler Header <boost/endian/conversion.hpp> Synopsis -
#define BOOST_ENDIAN_INTRINSIC_MSG "message describing presence or absence of intrinsics"
+
#define BOOST_ENDIAN_INTRINSIC_MSG \
+   "message describing presence or absence of intrinsics"
 
 namespace boost
 {
@@ -166,7 +168,7 @@ modifiable lvalue of type T.

T is an endian type or a class type.

If T is an endian type, returns the value of x with the order of bytes reversed.

-

If T is an class type, the function:

+

If T is a class type, the function:

  • Returns the value of x with the order of bytes reversed for all data members of types or arrays of @@ -191,7 +193,7 @@ can be found by argument dependent lookup (ADL).
  • endian_reverse_inplace(mlx) T is an endian type or a class type.

    If T is an endian type, reverses the order of bytes in mlx.

    -

    If T is an class type, the function:

    +

    If T is a class type, the function:

    • Reverses the order of bytes of all data members of mlx that have types or arrays of @@ -208,7 +210,7 @@ can be found by argument dependent lookup (ADL). 
    • that calls endian_reverse, only endian_reverse is required for a user-defined type to meet the EndianReversibleInplace requirements. Although User-defined types are not required to supply an endian_reverse_inplace -function, doing so may improved efficiency.  —end note]

      +function, doing so may improve efficiency.  —end note]

      Customization points for user-defined types (UDTs)

      @@ -239,7 +241,7 @@ double endian_reverse(double x) noexcept;

Returns: x, with the order of its constituent bytes reversed.

-

Remarks: Meet the EndianReversible requirements.

+

Remarks: The type of x meets the EndianReversible requirements.

[Note: The Boost.Endian library does not provide overloads for the C++ standard library supplied types. —end note]

@@ -367,7 +369,7 @@ Pierre Talbot provided the int8_t endian_reverse() and templated endian_reverse_inplace() implementations.


Last revised: -19 January, 2015

+09 February, 2015

© Copyright Beman Dawes, 2011, 2013

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

diff --git a/doc/styles.css b/doc/styles.css index f761bcb..9d89d77 100644 --- a/doc/styles.css +++ b/doc/styles.css @@ -1,16 +1,16 @@ body { - font-family: sans-serif; + font-family: arial, sans-serif; max-width: 6.5in; margin: 0px auto; font-size: 85%; } ins {background-color: #CCFFCC;} del {background-color: #FFCACA;} - pre {background-color: #D7EEFF; font-size: 100%;} - code {font-size: 110%;} - table{font-size: 100%;} + pre {background-color: #D7EEFF; font-size: 95%; font-family: courier, serif;} + code {font-size: 110%; font-family: courier, serif;} + table {font-size: 100%;} /* © Copyright Beman Dawes, 2014