mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 04:50:34 +05:00
static constexpr
This commit is contained in:
parent
31d5ce8be9
commit
91506aa71a
@ -333,11 +333,11 @@ namespace ngcore
|
||||
}
|
||||
|
||||
template <typename T, typename ... Trest>
|
||||
constexpr size_t TotSize (T & first, Trest & ...rest) const
|
||||
static constexpr size_t TotSize (T & first, Trest & ...rest)
|
||||
{
|
||||
return sizeof(first) + TotSize(rest...);
|
||||
}
|
||||
constexpr size_t TotSize () const { return 0; }
|
||||
static constexpr size_t TotSize () { return 0; }
|
||||
|
||||
|
||||
template <typename T, typename ... Trest>
|
||||
|
Loading…
Reference in New Issue
Block a user