From fa69b04dcb621dd53d5c688a260d142eebdf8fec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 23 May 2012 00:03:40 +0200 Subject: [PATCH] MathTypeTraits: part of the original reasons was true. --- src/Math/MathTypeTraits.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Math/MathTypeTraits.h b/src/Math/MathTypeTraits.h index 4addbfb1d..bc95deddd 100644 --- a/src/Math/MathTypeTraits.h +++ b/src/Math/MathTypeTraits.h @@ -45,8 +45,9 @@ sense, it has empty implementation for unknown types or types which don't support given feature, thus forcing the compilation stop with an error. @internal The following values are implemented as inline functions, not as - static const variables, because unlike static const variables the - functions can be overloaded, deleted and hidden. + static const variables, because the compiler will inline the return values + instead of referencing to static data and unlike static const variables + the functions can be overloaded, deleted and hidden. */ template struct MathTypeTraits { #ifdef DOXYGEN_GENERATING_OUTPUT