[libcxx-commits] [libcxx] [libc++][test] Fixes constexpr nasty_char_traits. (PR #90981)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue May 7 08:53:47 PDT 2024


================
@@ -16,6 +16,30 @@
 
 #include "test_macros.h"
 
+// Tests whether the range [p1, p1 + n) overlaps with the range [p2, p2 + n).
+//
+// precondition The ranges [p1, p1 + n) and [p2, p2 + n) are valid ranges.
----------------
ldionne wrote:

```suggestion
// Precondition: The ranges [p1, p1 + n) and [p2, p2 + n) are valid ranges.
```

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


More information about the libcxx-commits mailing list