On Fri, 22 Nov 2019, 21:17 Nicolai Josuttis, <[email protected]> wrote:

> cc LWG
>
> Hi Richard,
>
> this was discussed back and forth a bit in LWG.
> The reason to have it is because we also change the declarations of
> atomic<shared_ptr<T>> and atomic<weak_ptr<T>>, which are defined in
> <memory>.
>

Interesting. Can you use those without first including <atomic>?

Best
>   Nico
>
>
> Am 23.11.2019 um 04:48 schrieb Richard Smith:
> > Hi SG10,
> >
> > P0883R2 specifies to add a feature test macro
> > __cpp_lib_atomic_value_initialization to headers <atomic> and <memory>.
> > Did SG10 review this macro addition yet?
> >
> > To me, it seems very reasonable... except for the inclusion of this
> > macro in the <memory> header, which seems a little surprising and which
> > I think we should reconsider. What do others think?
>
> --
> Nicolai M. Josuttis
> www.josuttis.de
> PGP Fingerprint: EA25 EF48 BF20 01E4 1FAB 0C1C DEF9 FC80 8A1C 44D0
>
> +49 (0)531 / 129 88 86
> +49 (0)700 / 5678 8888
> +49 (0)700 / JOSUTTIS
>
> IT communication      http://it-communication.com
> SOA in Practice       http://soa-in-practice.com
> C++ Standard Library  http://cppstdlib.com
>
>
-- 
SG10 mailing list
[email protected]
https://lists.isocpp.org/mailman/listinfo.cgi/sg10

Reply via email to