dbms: added comment [#METR-17233].

This commit is contained in:
Alexey Milovidov 2015-07-10 06:06:00 +03:00
parent 2af61829fe
commit 8aa96f3f79

View File

@ -262,6 +262,7 @@ struct BitShiftRightImpl
}
};
template<typename A, typename B>
struct LeastImpl
{
@ -270,6 +271,7 @@ struct LeastImpl
template <typename Result = ResultType>
static inline Result apply(A a, B b)
{
/** gcc 4.9.2 успешно векторизует цикл из этой функции. */
return static_cast<Result>(a) < static_cast<Result>(b) ? static_cast<Result>(a) : static_cast<Result>(b);
}
};