matrix: move sfinae condition into template param list
This commit is contained in:
parent
c4eec456a0
commit
3bd795f5e3
@ -165,8 +165,11 @@ namespace util {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
template <typename VectorT>
|
template <
|
||||||
std::enable_if_t<is_coord_v<VectorT>, VectorT>
|
typename VectorT,
|
||||||
|
typename = std::enable_if_t<is_coord_v<VectorT>>
|
||||||
|
>
|
||||||
|
auto
|
||||||
operator* (const VectorT &rhs) const
|
operator* (const VectorT &rhs) const
|
||||||
{
|
{
|
||||||
VectorT out;
|
VectorT out;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user