Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2023-11-30 23:36:22


Andrey Semashev wrote:
> > 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"; }


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk