428fad33c3
clang-14 fails with: ``` similar/main/net_udp.cpp:4381:11: error: use of overloaded operator '!=' is ambiguous (with operand types 'exact_type<dcx::player>' and 'exact_type<const dcx::player>') if (&i != &self) ~~ ^ ~~~~~ common/include/pack.h:28:17: note: candidate function constexpr bool operator==(const T *rhs) const { return p == rhs; } ^ common/include/pack.h:28:17: note: candidate function (with reversed parameter order) 1 error generated. ``` gcc handles the old form without error. |
||
---|---|---|
.. | ||
2d | ||
3d | ||
arch | ||
editor | ||
main | ||
misc |