common: Convert type traits templates over to variable template versions where applicable
Uses the C++17 inline variable variants
This commit is contained in:
parent
825e8cb925
commit
a7d6efc520
5 changed files with 11 additions and 11 deletions
|
@ -96,7 +96,7 @@ static inline int LeastSignificantSetBit(u64 val) {
|
|||
|
||||
template <typename IntTy>
|
||||
class BitSet {
|
||||
static_assert(!std::is_signed<IntTy>::value, "BitSet should not be used with signed types");
|
||||
static_assert(!std::is_signed_v<IntTy>, "BitSet should not be used with signed types");
|
||||
|
||||
public:
|
||||
// A reference to a particular bit, returned from operator[].
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue