j
k
j a
j l
Andrey Semashev wrote:
...constexpr struct invalid_t { operator std::string() const noexcept { return "invalid"; } Not noexcept, std::string constructor may throw.
constexpr struct invalid_t { operator std::string() const noexcept { return "invalid"; }
Not noexcept, std::string constructor may throw.
Yeah, make that operator char const* () const noexcept { return "invalid"; }
Back to the thread
Back to the list