From 5e423004f0e4c32d1f70864dce62ec676a2a1602 Mon Sep 17 00:00:00 2001 From: Tilman Blumhagen Date: Sat, 20 May 2023 15:57:12 +0200 Subject: [PATCH] Minor fixes for documentation of offset_ptr --- include/boost/interprocess/offset_ptr.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/interprocess/offset_ptr.hpp b/include/boost/interprocess/offset_ptr.hpp index 698e26b..5619ec3 100644 --- a/include/boost/interprocess/offset_ptr.hpp +++ b/include/boost/interprocess/offset_ptr.hpp @@ -211,12 +211,12 @@ namespace ipcdetail { } //namespace ipcdetail { #endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED -//!A smart pointer that stores the offset between between the pointer and the -//!the object it points. This allows offset allows special properties, since +//!A smart pointer that stores the offset between the pointer and the +//!object it points to. This allows special properties, since //!the pointer is independent from the address of the pointee, if the //!pointer and the pointee are still separated by the same offset. This feature //!converts offset_ptr in a smart pointer that can be placed in shared memory and -//!memory mapped files mapped in different addresses in every process. +//!memory mapped files mapped at different addresses in every process. //! //! \tparam PointedType The type of the pointee. //! \tparam DifferenceType A signed integer type that can represent the arithmetic operations on the pointer