[libcxx-commits] [libcxx] [libc++] LWG4497: `std::nullopt_t` should be comparable (PR #195549)

Hristo Hristov via libcxx-commits libcxx-commits at lists.llvm.org
Sun May 10 00:23:36 PDT 2026


================
@@ -0,0 +1,59 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// REQUIRES: std-at-least-c++17
+// <optional>
----------------
Zingam wrote:

```suggestion
// REQUIRES: std-at-least-c++17

// <optional>
```
Nit: an empty line for readability and style

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


More information about the libcxx-commits mailing list