[PATCH] D55517: Remove `_VSTD`

Eric Fiselier via Phabricator reviews at reviews.llvm.org
Mon Dec 10 11:59:23 PST 2018


EricWF added a comment.

In D55517#1325952 <https://reviews.llvm.org/D55517#1325952>, @mclow.lists wrote:

> We have two different namespaces in libc++.
>
> We have `std`, which is opened by `namespace std {`, and referred to using `std::`.
>  We have `std::__1`, which is opened by `_LIBCPP_BEGIN_NAMESPACE_STD`, and is referred to using `_VSTD`.
>  Some things live in former, and some (most) in the latter.
>
> They're **different**, and the fact that `std::` will find things in `std::__1` doesn't change that.


Yes. We have versioned and unversioned components.

`_VSTD` can refer only to versioned components, while `std::` is correct in all cases.


Repository:
  rCXX libc++

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55517/new/

https://reviews.llvm.org/D55517





More information about the libcxx-commits mailing list