From 0524dc5880a53ab0727511fd667a0805296b4b38 Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Sun, 4 Nov 2018 10:55:21 -0500 Subject: [PATCH] A comment about Maybe resembling std::optional... ... which should replace it if we migrate to C++17. --- src/MemoryX.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/MemoryX.h b/src/MemoryX.h index 8072c0d8e..34cbe3c34 100644 --- a/src/MemoryX.h +++ b/src/MemoryX.h @@ -193,6 +193,8 @@ public: You might also use it as a member. Initialize with create(), then use like a smart pointer, with *, ->, get(), reset(), or in if() + + Like std::optional of C++17 but with other member naming conventions */ // Placement-NEW is used below, and that does not cooperate with the DEBUG_NEW for Visual Studio