On Tuesday 27 August 2024 02:59:34 GMT-7 Giuseppe D'Angelo via Development wrote: > It's not noexcept in the Standard; implementations just chose to make it > so. Libstdc++ chose¹ to have always-terminating precondition > enforcement, i.e. the checks never throw, and so doesn't operator[]. > > We can decide otherwise -- and that's orthogonal to if and when > contracts actually land, as Marc says.
Can we decide otherwise? Doesn't the underlying Standard C++ library implementation's choice make the same choice for us? -- Thiago Macieira - thiago.macieira (AT) intel.com Principal Engineer - Intel DCAI Platform & System Engineering
smime.p7s
Description: S/MIME cryptographic signature
-- Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development