[libcxx-commits] [PATCH] D55517: Remove `_VSTD`

Roman Lebedev lebedev.ri at gmail.com
Mon Dec 10 09:29:10 PST 2018


Not hardcoding "::std" simplifies changing that namespace for whatever reasons.
I'm not sure if it is supported or not, but at least one person in
#llvm asked about that/did that.
On Mon, Dec 10, 2018 at 8:21 PM Eric Fiselier via Phabricator via
libcxx-commits <libcxx-commits at lists.llvm.org> wrote:
>
>
>
>
> ---------- Forwarded message ----------
> From: Eric Fiselier via Phabricator <reviews at reviews.llvm.org>
> To: eric at efcs.ca, mclow.lists at gmail.com, ldionne at apple.com
> Cc: mgrang at codeaurora.org, jfbastien at apple.com, libcxx-commits at lists.llvm.org
> Bcc:
> Date: Mon, 10 Dec 2018 17:21:11 +0000 (UTC)
> Subject: [PATCH] D55517: Remove `_VSTD`
> EricWF created this revision.
> EricWF added reviewers: mclow.lists, ldionne.
> Herald added subscribers: jfb, mgrang.
>
> Quick Question: What's the difference between writing `_VSTD::` and `std::`? Nothing.
>
> This lack of functional difference makes `_VSTD::` confusing, and makes it unclear when it should be used. The effect of `std::`, however, is perfectly clear to all readers of C++.
>
>
> Repository:
>   rCXX libc++
>
> https://reviews.llvm.org/D55517
>
> Files:
>   include/__bit_reference
>   include/__config
>   include/__debug
>   include/__functional_03
>   include/__functional_base
>   include/__functional_base_03
>   include/__hash_table
>   include/__locale
>   include/__mutex_base
>   include/__node_handle
>   include/__nullptr
>   include/__split_buffer
>   include/__sso_allocator
>   include/__std_stream
>   include/__string
>   include/__tree
>   include/algorithm
>   include/any
>   include/array
>   include/bitset
>   include/chrono
>   include/complex
>   include/condition_variable
>   include/cstdlib
>   include/deque
>   include/exception
>   include/experimental/__memory
>   include/experimental/coroutine
>   include/experimental/deque
>   include/experimental/forward_list
>   include/experimental/functional
>   include/experimental/iterator
>   include/experimental/list
>   include/experimental/map
>   include/experimental/memory_resource
>   include/experimental/propagate_const
>   include/experimental/regex
>   include/experimental/set
>   include/experimental/string
>   include/experimental/unordered_map
>   include/experimental/unordered_set
>   include/experimental/vector
>   include/ext/hash_map
>   include/ext/hash_set
>   include/filesystem
>   include/forward_list
>   include/fstream
>   include/functional
>   include/future
>   include/iomanip
>   include/ios
>   include/istream
>   include/iterator
>   include/limits
>   include/list
>   include/locale
>   include/map
>   include/memory
>   include/mutex
>   include/new
>   include/numeric
>   include/optional
>   include/ostream
>   include/queue
>   include/random
>   include/regex
>   include/scoped_allocator
>   include/set
>   include/shared_mutex
>   include/span
>   include/sstream
>   include/stack
>   include/stdexcept
>   include/streambuf
>   include/string
>   include/string_view
>   include/strstream
>   include/thread
>   include/tuple
>   include/type_traits
>   include/typeinfo
>   include/unordered_map
>   include/unordered_set
>   include/utility
>   include/valarray
>   include/variant
>   include/vector
>   src/chrono.cpp
>   src/experimental/memory_resource.cpp
>   src/ios.cpp
>   src/iostream.cpp
>   src/locale.cpp
>   src/new.cpp
>   src/regex.cpp
>   src/string.cpp
>   src/strstream.cpp
>   src/support/win32/thread_win32.cpp
>   src/system_error.cpp
>   test/std/utilities/function.objects/func.not_fn/not_fn.pass.cpp
>
>
>
>
>
>
> ---------- Forwarded message ----------
> From: Eric Fiselier via Phabricator via libcxx-commits <libcxx-commits at lists.llvm.org>
> To: eric at efcs.ca, mclow.lists at gmail.com, ldionne at apple.com
> Cc: mgrang at codeaurora.org, libcxx-commits at lists.llvm.org
> Bcc:
> Date: Mon, 10 Dec 2018 09:18:18 -0800 (PST)
> Subject: [libcxx-commits] [PATCH] D55517: Remove `_VSTD`
> _______________________________________________
> libcxx-commits mailing list
> libcxx-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/libcxx-commits


More information about the libcxx-commits mailing list