Closed maikel closed 6 years ago
When using clang with -Wall and -Wextra it complains because of unused parameters. Since the parameter do not get used with any configuration I removed the parameter names instead of using the attribute [[maybe_unused]].
-Wall
-Wextra
[[maybe_unused]]
hmm, pretty sure that should return lhs + rhs, not 0
lhs + rhs
IIUC if this overload gets instantiated it will definitively raise the static_assert. Therefore just return 0;.
static_assert
return 0;
When using clang with
-Wall
and-Wextra
it complains because of unused parameters. Since the parameter do not get used with any configuration I removed the parameter names instead of using the attribute[[maybe_unused]]
.