[libc-commits] [libc] [libc] Add `shm_open/shm_unlink` (PR #84974)

via libc-commits libc-commits at lists.llvm.org
Tue Mar 12 12:58:36 PDT 2024


================
@@ -194,6 +194,15 @@ class string_view {
         return End - 1;
     return npos;
   }
+
+  // Finds the frist character not equal to c in this view, starting at position
+  // From.
+  LIBC_INLINE size_t find_first_not_of(const char c, size_t From = 0) const {
----------------
lntue wrote:

Can this be `constexpr`?

https://github.com/llvm/llvm-project/pull/84974


More information about the libc-commits mailing list