llvm-project/libcxx/test/std/strings/basic.string/string.cons
Eric Fiselier 38590b3845 Fix std::string assignment ambiguity from braced initializer lists.
When support for `basic_string_view` was added to string it also
added new assignment operators from `basic_string_view`. These caused
ambiguity when assigning from a braced initializer. This patch fixes
that regression by making the basic_string_view assignment operator
rank lower in overload resolution by making it a template.

llvm-svn: 292276
2017-01-17 22:10:32 +00:00
..
T_size_size.pass.cpp [libcxx] [test] D27027: Strip trailing whitespace. 2016-11-23 22:03:28 +00:00
alloc.pass.cpp Support allocators with explicit conversion constructors. Fixes bug #29000 2016-08-17 05:58:40 +00:00
brace_assignment.pass.cpp Fix std::string assignment ambiguity from braced initializer lists. 2017-01-17 22:10:32 +00:00
char_assignment.pass.cpp Guard libc++ specific c.__invariants() tests in LIBCPP_ASSERT macros 2016-04-28 22:28:23 +00:00
copy.pass.cpp Guard libc++ specific c.__invariants() tests in LIBCPP_ASSERT macros 2016-04-28 22:28:23 +00:00
copy_alloc.pass.cpp Guard libc++ specific c.__invariants() tests in LIBCPP_ASSERT macros 2016-04-28 22:28:23 +00:00
copy_assignment.pass.cpp Guard libc++ specific c.__invariants() tests in LIBCPP_ASSERT macros 2016-04-28 22:28:23 +00:00
default_noexcept.pass.cpp Guard libc++ specific c.__invariants() tests in LIBCPP_ASSERT macros 2016-04-28 22:28:23 +00:00
dtor_noexcept.pass.cpp Fix _LIBCPP_EXTERN_TEMPLATE_INLINE_VISIBILITY to always have default visibility. 2016-10-31 02:07:23 +00:00
initializer_list.pass.cpp Guard libc++ specific c.__invariants() tests in LIBCPP_ASSERT macros 2016-04-28 22:28:23 +00:00
initializer_list_assignment.pass.cpp Guard libc++ specific c.__invariants() tests in LIBCPP_ASSERT macros 2016-04-28 22:28:23 +00:00
iter_alloc.pass.cpp [libcxx] [test] D27021: Fix MSVC warning C4389 "signed/unsigned mismatch", part 8/12. 2016-12-06 01:12:34 +00:00
move.pass.cpp Guard libc++ specific c.__invariants() tests in LIBCPP_ASSERT macros 2016-04-28 22:28:23 +00:00
move_alloc.pass.cpp Guard libc++ specific c.__invariants() tests in LIBCPP_ASSERT macros 2016-04-28 22:28:23 +00:00
move_assign_noexcept.pass.cpp Remove trailing whitespace in test suite. Approved by Marshall Clow. 2016-06-01 21:35:39 +00:00
move_assignment.pass.cpp Guard libc++ specific c.__invariants() tests in LIBCPP_ASSERT macros 2016-04-28 22:28:23 +00:00
move_noexcept.pass.cpp Guard libc++ specific c.__invariants() tests in LIBCPP_ASSERT macros 2016-04-28 22:28:23 +00:00
pointer_alloc.pass.cpp [libcxx] [test] D27269: Fix MSVC x64 warning C4267 "conversion from 'size_t' to 'int' [or 'unsigned int'], possible loss of data", part 3/4. 2016-12-06 01:14:51 +00:00
pointer_assignment.pass.cpp Guard libc++ specific c.__invariants() tests in LIBCPP_ASSERT macros 2016-04-28 22:28:23 +00:00
pointer_size_alloc.pass.cpp Guard libc++ specific c.__invariants() tests in LIBCPP_ASSERT macros 2016-04-28 22:28:23 +00:00
size_char_alloc.pass.cpp [libcxx] [test] Fix MSVC warning C4244 "conversion from 'X' to 'Y', possible loss of data", part 7/7. 2016-12-08 21:38:57 +00:00
string_view.fail.cpp Implement std::string_view as described in http://wg21.link/P0254R1. Reviewed as https://reviews.llvm.org/D21459 2016-07-21 05:31:24 +00:00
string_view.pass.cpp Fix std::string assignment ambiguity from braced initializer lists. 2017-01-17 22:10:32 +00:00
substr.pass.cpp [libcxx] [test] D27269: Fix MSVC x64 warning C4267 "conversion from 'size_t' to 'int' [or 'unsigned int'], possible loss of data", part 3/4. 2016-12-06 01:14:51 +00:00