You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just found out that NamedTypes cannot be used as non-type template parameters, because they are not structural, because they hold the underlying value as a private member variable. Fortunately, there is another great library called strong_type which we can use instead. It even provides a modifier strong::affine_point<D> which I find super convenient.
Also, remove the debug_assert library, since it was required only by NamedType.
The text was updated successfully, but these errors were encountered:
I just found out that
NamedType
s cannot be used as non-type template parameters, because they are not structural, because they hold the underlying value as a private member variable. Fortunately, there is another great library called strong_type which we can use instead. It even provides a modifierstrong::affine_point<D>
which I find super convenient.Also, remove the debug_assert library, since it was required only by NamedType.
The text was updated successfully, but these errors were encountered: