TypeSize.h: add integral constructor to ElementCount

This commit is contained in:
Nekotekina 2021-11-02 16:57:35 +03:00
parent 902970b075
commit 05332b78c7

View File

@ -389,6 +389,9 @@ public:
ElementCount(const LinearPolySize<ElementCount> &V) : LinearPolySize(V) {}
ElementCount(unsigned Size, bool IsScalable = false)
: LinearPolySize(get(Size, IsScalable)) {}
/// Counting predicates.
///
///@{ Number of elements..