remove vector comparison operators

they're dangerous as they will make things like
std::min() work, but probably won't do the
right thing.
This commit is contained in:
Mathias Agopian
2019-03-14 13:13:57 -07:00
committed by Mathias Agopian
parent ee28f0adac
commit 2f34f9f857
4 changed files with 11 additions and 47 deletions
@@ -30,6 +30,9 @@ struct TestFloat4 : public float4 {
z = -3;
w = -4;
}
friend bool operator < (TestFloat4 const& lhs, TestFloat4 const& rhs) noexcept {
return any(lessThan(lhs, rhs));
}
};
using SoA = utils::StructureOfArrays<float, double, TestFloat4>;