From 3853f80886c1c53c4ce3225e5582fdc8238e9a40 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Tue, 6 Oct 2020 19:42:08 +0300 Subject: [PATCH] Update documentation --- doc/endian/arithmetic.adoc | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) 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; ```