[libcxx-dev] Question: Why are std::exception & friends not in a versioned namespace?

Ben Craig via libcxx-dev libcxx-dev at lists.llvm.org
Wed Oct 17 11:44:20 PDT 2018


"Magic" types that the compiler / core language know about don't go in the versioned namespace.

> -----Original Message-----
> From: libcxx-dev <libcxx-dev-bounces at lists.llvm.org> On Behalf Of Louis
> Dionne via libcxx-dev
> Sent: Wednesday, October 17, 2018 1:33 PM
> To: libcxx-dev at lists.llvm.org
> Subject: [libcxx-dev] Question: Why are std::exception & friends not in a
> versioned namespace?
> 
> The title of the message pretty much says everything. I’m wondering why
> `std::exception` is not `std::__1::exception` instead — most symbols are in
> the  versioned namespace, but not this one.
> 
> Thanks,
> Louis
> 
> _______________________________________________
> libcxx-dev mailing list
> libcxx-dev at lists.llvm.org
> https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.llvm.org_cgi-
> 2Dbin_mailman_listinfo_libcxx-
> 2Ddev&d=DwIGaQ&c=I_0YwoKy7z5LMTVdyO6YCiE2uzI1jjZZuIPelcSjixA&r=y8
> mub81SfUi-UCZRX0Vl1g&m=SXXSmQhIwn-A25pzcb_sggzAo2-eOJsf6qXxNo-
> nK0Y&s=CmmWD_6xN8H21UexX902giBa7RN0TM7POgqsYXG34VA&e=


More information about the libcxx-dev mailing list