EtherTyper created this revision.
EtherTyper added a subscriber: cfe-commits.
EtherTyper set the repository for this revision to rL LLVM.
EtherTyper changed the edit policy of this Differential Revision from "All
Users" to "Administrators".
Repository:
rL LLVM
http://reviews.llvm.org/D22200
Files:
include/string
Index: include/string
===================================================================
--- include/string
+++ include/string
@@ -1993,7 +1993,7 @@
template <class _CharT, class _Traits, class _Allocator>
inline _LIBCPP_INLINE_VISIBILITY
-basic_string<_CharT, _Traits, _Allocator>::basic_string(const allocator_type&
__a)
+basic_string<_CharT, _Traits, _Allocator>::basic_string(const allocator_type&
__a) noexcept(is_nothrow_copy_constructible<allocator_type>::value)
#if _LIBCPP_STD_VER <= 14
_NOEXCEPT_(is_nothrow_copy_constructible<allocator_type>::value)
#else
Index: include/string
===================================================================
--- include/string
+++ include/string
@@ -1993,7 +1993,7 @@
template <class _CharT, class _Traits, class _Allocator>
inline _LIBCPP_INLINE_VISIBILITY
-basic_string<_CharT, _Traits, _Allocator>::basic_string(const allocator_type& __a)
+basic_string<_CharT, _Traits, _Allocator>::basic_string(const allocator_type& __a) noexcept(is_nothrow_copy_constructible<allocator_type>::value)
#if _LIBCPP_STD_VER <= 14
_NOEXCEPT_(is_nothrow_copy_constructible<allocator_type>::value)
#else
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits