From: Radoslaw Zarzynski Date: Mon, 8 May 2023 14:41:22 +0000 (+0000) Subject: doc/dev/encoding.txt: update per std::optional X-Git-Tag: v19.0.0~1265^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F51394%2Fhead;p=ceph.git doc/dev/encoding.txt: update per std::optional Signed-off-by: Radoslaw Zarzynski --- diff --git a/doc/dev/network-encoding.rst b/doc/dev/network-encoding.rst index d59b0ee9ee50..d5d1a6d15371 100644 --- a/doc/dev/network-encoding.rst +++ b/doc/dev/network-encoding.rst @@ -87,7 +87,8 @@ Optionals are represented as a presence byte, followed by the item if it exists. T element[present? 1 : 0]; // Only if present is non-zero. } -Optionals are used to encode ``boost::optional``. +Optionals are used to encode ``boost::optional`` and, since introducing +C++17 to Ceph, ``std::optional``. Pair ----