C++ Logo


Advanced search

Re: P2192 R1 -- request for comments

From: Thiago Macieira <thiago_at_[hidden]>
Date: Sat, 12 Sep 2020 09:17:50 -0700
On Friday, 11 September 2020 02:18:45 PDT Dusan Jovanovic (DBJ) via Std-
Proposals wrote:
> An
> issue is a lot of projects
> <https://github.com/dbj-systems/libstdc-error/tree/crt_proxy_lib/crt_proxy_l
> ib>might not have std::optional, because in there, there is no std lib

That's not an argument. You can't add a type to the standard library because
there are projects that can't use types in the standard library. Either they
can use the standard library, in which case the existing types can be used, or
they can't, in which case they won't use your proposed type either.

Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel DPG Cloud Engineering

Received on 2020-09-12 11:17:58