Add a bunch of noexcepts to char_traits and string_view.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@276955 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Marshall Clow
2016-07-28 04:52:02 +00:00
parent 1c1e91d9a3
commit e6521d677b
2 changed files with 37 additions and 37 deletions

View File

@@ -356,7 +356,7 @@ public:
}
_LIBCPP_CONSTEXPR_AFTER_CXX11 _LIBCPP_INLINE_VISIBILITY
int compare(const _CharT* __s) const
int compare(const _CharT* __s) const _NOEXCEPT
{
return compare(basic_string_view(__s));
}