From 4dbe17e9a9b34fb8dd883af66124771f97728cc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 15 Feb 2019 15:56:54 +0100 Subject: [PATCH] doc: now we *can* link to std::optional on cppreference. --- doc/changelog-old.dox | 2 +- doc/changelog.dox | 13 ++++++------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/doc/changelog-old.dox b/doc/changelog-old.dox index 6735fe661..15ca70205 100644 --- a/doc/changelog-old.dox +++ b/doc/changelog-old.dox @@ -667,7 +667,7 @@ for a high-level overview. by @ref magnum-gl-info "magnum-info" utility. - @cpp Context::isExtensionSupported() @ce is now able to query extension availability on particular GLSL version -- Using @ref std::unique_ptr and C++1y @cpp std::optional @ce for resources +- Using @ref std::unique_ptr and C++1y @ref std::optional for resources returned from @ref Trade::AbstractImporter for better usability and to avoid accidental memory leaks - New translation-only transformation in @ref SceneGraph supporting also diff --git a/doc/changelog.dox b/doc/changelog.dox index 8f7b0665a..08cd5ac15 100644 --- a/doc/changelog.dox +++ b/doc/changelog.dox @@ -249,9 +249,9 @@ Released 2019-02-04, tagged as is done implicitly in both cases, but you may need to add an @cpp #include @ce where appropriate. - Removed deprecated implicit conversion @ref Corrade::Containers::Optional - to @cpp std::optional @ce, deprecated in January 2018. The class now - contains an *explicit* and opt-in STL compatibility, see its documentation - for more information. + to @ref std::optional, deprecated in January 2018. The class now contains + an *explicit* and opt-in STL compatibility, see its documentation for more + information. - Removed the `Magnum/Test/AbstractOpenGLTester.h` header that was deprecated in January 2017. Use @ref Magnum/GL/OpenGLTester.h and the @ref GL::OpenGLTester library instead. Note that the deprecated @@ -1908,11 +1908,10 @@ a high-level overview. `colors` parameter are deprecated, use the full ones instead - @ref Shaders::Generic::Color vertex attribute implicit constructor is deprecated, use a constructor with explicit component count instead -- The bundled `std::optional` implementation was causing serious conflicts +- The bundled @ref std::optional implementation was causing serious conflicts with C++17 and it's now deprecated in favor of - @ref Corrade::Containers::Optional. - (Deprecated) aliases and conversion operators are provided for backwards - compatibility. + @ref Corrade::Containers::Optional. (Deprecated) aliases and conversion + operators are provided for backwards compatibility. - `Audio::Context::hrtfSpecifier()` is deprecated, use @ref Audio::Context::hrtfSpecifierString() instead