From 622829cebcca8ae4ec6f0463a4d74c909998a92d Mon Sep 17 00:00:00 2001 From: Radoslaw Zarzynski Date: Mon, 8 May 2023 14:41:22 +0000 Subject: [PATCH] doc/dev/encoding.txt: update per std::optional Signed-off-by: Radoslaw Zarzynski --- doc/dev/network-encoding.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/dev/network-encoding.rst b/doc/dev/network-encoding.rst index d59b0ee9ee5..d5d1a6d1537 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 ---- -- 2.39.5