From 1bc372370247dbee3ee79362a3f6cf972bdec950 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 16 Nov 2014 21:18:45 +0100 Subject: [PATCH] Math: this also isn't Doxygen's fault. Why? Imagine this C++/Doxygen/Markdown parsing nightmare: /** * @page operator Operators * * See also @ref operator "" _page_. */ /** * @brief Page literal * * See also @ref operator "Operators" _page_. */ Page operator "" _page_(unsigned long long int); Sorry ;) --- src/Magnum/Math/Angle.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Magnum/Math/Angle.h b/src/Magnum/Math/Angle.h index 5343e8fbd..def2236e5 100644 --- a/src/Magnum/Math/Angle.h +++ b/src/Magnum/Math/Angle.h @@ -157,7 +157,6 @@ Double cosine = Math::cos(1.047_rad); // cosine = 0.5 @endcode @see @link operator""_degf() @endlink, @link operator""_rad() @endlink @requires_gl Only single-precision types are available in OpenGL ES. -@todoc Remove workarounds (2) when Doxygen can handle operator"" */ constexpr Deg operator "" _deg(long double value) { return Deg(value); } #endif @@ -171,7 +170,6 @@ Float tangent = Math::tan(60.0_degf); // tangent = 1.732f Float tangent = Math::tan(1.047_radf); // tangent = 1.732f @endcode @see @link operator""_deg() @endlink, @link operator""_radf() @endlink -@todoc Remove workarounds (2) when Doxygen can handle operator"" */ constexpr Deg operator "" _degf(long double value) { return Deg(value); } @@ -213,7 +211,6 @@ template class Rad: public Unit { See @link operator""_rad() @endlink for more information. @see @link operator""_radf() @endlink, @link operator""_deg() @endlink @requires_gl Only single-precision types are available in OpenGL ES. -@todoc Remove workarounds (3) when Doxygen can handle operator"" */ constexpr Rad operator "" _rad(long double value) { return Rad(value); } #endif @@ -223,7 +220,6 @@ constexpr Rad operator "" _rad(long double value) { return Rad(v See @link operator""_degf() @endlink for more information. @see @link operator""_rad() @endlink, @link operator""_degf() @endlink -@todoc Remove workarounds (3) when Doxygen can handle operator"" */ constexpr Rad operator "" _radf(long double value) { return Rad(value); }