From 2b424be57c135e8fcde228086c7fa7b6cf10293e Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Sat, 30 Jul 2016 23:20:09 +0200 Subject: [PATCH] deprecate planned Option monad ...since C++17 will likely ship an option type with the standard library --- src/lib/maybe.hpp | 1 + tests/library/maybe-value-test.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/lib/maybe.hpp b/src/lib/maybe.hpp index f8e7204ff..3e5444c9e 100644 --- a/src/lib/maybe.hpp +++ b/src/lib/maybe.hpp @@ -39,6 +39,7 @@ ** - an alternative or fallback value may be attached. ** ** @todo WIP and rather brainstorming as of 2/10 + ** @deprecated as of 2016 : the upcoming C++17 will provide an optional type!! ** ** @see backend::ThreadJob usage example */ diff --git a/tests/library/maybe-value-test.cpp b/tests/library/maybe-value-test.cpp index bcc1cf257..b739a68b9 100644 --- a/tests/library/maybe-value-test.cpp +++ b/tests/library/maybe-value-test.cpp @@ -79,6 +79,8 @@ namespace test{ * @test Investigate various situations of using a Maybe value or option monad. * @note this is a testbed for experiments for the time being 11/2011 * + * @deprecated as of 2016 : the upcoming C++17 will provide an optional type!!!!! + * * @see lib::Maybe * @see null-value-test.cpp * @see util::AccessCasted