add little fun != to vec
parent
d882b76d83
commit
73094dbd6d
|
@ -267,6 +267,11 @@ namespace blt {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
template<typename T, uint32_t size>
|
||||||
|
inline constexpr bool operator!=(const vec<T, size>& left, const vec<T, size>& right) {
|
||||||
|
return !(left == right);
|
||||||
|
}
|
||||||
|
|
||||||
template<typename T, uint32_t size>
|
template<typename T, uint32_t size>
|
||||||
inline constexpr bool operator&&(const vec<T, size>& left, const vec<T, size>& right) {
|
inline constexpr bool operator&&(const vec<T, size>& left, const vec<T, size>& right) {
|
||||||
for (uint32_t i = 0; i < size; i++)
|
for (uint32_t i = 0; i < size; i++)
|
||||||
|
|
Loading…
Reference in New Issue