diff --git a/doc/endian/arithmetic.adoc b/doc/endian/arithmetic.adoc index 10dd2e5..af726df 100644 --- a/doc/endian/arithmetic.adoc +++ b/doc/endian/arithmetic.adoc @@ -231,7 +231,6 @@ namespace boost template class endian_arithmetic - : public endian_buffer { public: @@ -244,9 +243,9 @@ namespace boost endian_arithmetic& operator=(T v) noexcept; operator value_type() const noexcept; - value_type value() const noexcept; // for exposition; see endian_buffer - unsigned char* data() noexcept; // for exposition; see endian_buffer - unsigned char const* data() const noexcept; // for exposition; see endian_buffer + value_type value() const noexcept; + unsigned char* data() noexcept; + unsigned char const* data() const noexcept; // arithmetic operations // note that additional operations are provided by the value_type @@ -433,6 +432,25 @@ endian_arithmetic& operator=(T v) noexcept; Effects:: See `endian_buffer::operator=(T)`. Returns:: `*this`. +``` +value_type value() const noexcept; +``` +[none] +* {blank} ++ +Returns:: See `endian_buffer::value()`. + +``` +unsigned char* data() noexcept; +``` +``` +unsigned char const* data() const noexcept; +``` +[none] +* {blank} ++ +Returns:: See `endian_buffer::data()`. + ``` operator T() const noexcept; ```