fix typos

This commit is contained in:
Christopher Lackner 2019-08-21 11:06:00 +02:00
parent 3869392f0a
commit 22de6f2c56

View File

@ -136,7 +136,7 @@ namespace ngcore
static constexpr auto check(T2* t) -> typename T2::index_type { return *t; } static constexpr auto check(T2* t) -> typename T2::index_type { return *t; }
// this function is needed for visual because it seems to not lazy evaluate template arguments... // this function is needed for visual because it seems to not lazy evaluate template arguments...
template<typename T2> template<typename T2>
static constexpr auto check(T2* t) -> typename enable_if_t<std::is_integral_t<T>> {} static constexpr auto check(T2* t) -> typename std::enable_if_t<std::is_integral_v<T>> {}
static constexpr auto check(...) -> decltype(std::declval<T>().Size()) static constexpr auto check(...) -> decltype(std::declval<T>().Size())
{ return decltype(std::declval<T>().Size())(); } { return decltype(std::declval<T>().Size())(); }
public: public: