[libcxx-commits] [libcxx] [libc++] Create a `constexpr` hash to use during constant evaluation (PR #214946)

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Sat Aug 29 05:15:50 PDT 2026


================

----------------
frederick-vs-ja wrote:

```suggestion
  [[nodiscard]] constexpr std::size_t operator()(std::nullptr_t) const noexcept {
```

Also we should include `<cstddef>` for `size_t`.

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


More information about the libcxx-commits mailing list