mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
fix typos
This commit is contained in:
parent
3869392f0a
commit
22de6f2c56
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user