10 [[nodiscard]] NewType() : mValue{} {}
12 [[nodiscard]] NewType(T0
const& t) : mValue{t} {}
15 [[nodiscard]] NewType(NewType
const& other) : mValue{other.mValue} {}
17 NewType& operator=(NewType
const& other) {
18 mValue = other.mValue;
21 [[nodiscard]]
bool operator==(NewType
const& other)
const
22 requires(
requires { mValue == other.mValue; })
24 return mValue == other.mValue;
26 [[nodiscard]]
bool operator==(T0
const& other)
const
27 requires(
requires { mValue == other; })
29 return mValue == other;