Date: Fri, 8 Dec 2023 17:53:27 +0200
On Fri, 8 Dec 2023 at 17:50, Arthur O'Dwyer <arthur.j.odwyer_at_[hidden]> wrote:
>> optional<T> converts like a T, as far as possible. Because optional<T>
>> behaves like a T, as far as possible.
> Yes, but surely optional<T> should behave first and foremost like an optional<T>!
Not according to its approved design.
> I think this deserves a paper, but the author should make sure they treat the whole library consistently.
Yeah, well, good luck changing this, every change in it is breaking,
none of it is "simply benign and obvious".
>> optional<T> converts like a T, as far as possible. Because optional<T>
>> behaves like a T, as far as possible.
> Yes, but surely optional<T> should behave first and foremost like an optional<T>!
Not according to its approved design.
> I think this deserves a paper, but the author should make sure they treat the whole library consistently.
Yeah, well, good luck changing this, every change in it is breaking,
none of it is "simply benign and obvious".
Received on 2023-12-08 15:53:40