[libcxx-commits] [PATCH] D95251: Remove noexcept from basic_string::find and implementation functions.

Zoe Carver via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jan 22 11:15:16 PST 2021


zoecarver added a comment.

Addresses a comment in D93912 <https://reviews.llvm.org/D93912>.



================
Comment at: libcxx/include/string:1274
     _LIBCPP_INLINE_VISIBILITY
-    size_type find(const basic_string& __str, size_type __pos = 0) const _NOEXCEPT;
+    size_type find(const basic_string& __str, size_type __pos = 0) const; // _NOEXCEPT
 
----------------
I won't commit these commented-out `_NOEXCEPT`s. This is just to make it easier to see which are supposed to be here according to the standard. 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D95251



More information about the libcxx-commits mailing list