Closed
Description
At
manifold/src/utilities/include/public.h
Line 34 in 0617d34
constexpr std::size_t operator""_z(unsigned long long n) { return n; }
.
- This is inconsistent with C++23's (P0330R8)[https://wg21.link/P0330R8] operator""z, which returns
std::make_signed_t<std::size_t>
. - This is presumptuous to put this in the global scope; it should go in
namespace manifold
(and possibly also in something likenamespace manifold::literals
).
Proposed solution:
Rename to operator""_uz
and move into namespace manifold
.
Metadata
Metadata
Assignees
Labels
No labels