<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/128666>128666</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [libc++] P3372R3: constexpr `unordered_map`
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            libc++,
            c++26
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          frederick-vs-ja
      </td>
    </tr>
</table>

<pre>
    Make `unordered_map` constexpr as part of P3372R3.

Note that `node-handle::key()` is intentionally left not constexpr, and the constexpr-ness largely requires a user-defined hash functor.

Feature-test macro (also covers constexpr `unordered_multimap`):
```C++
#define __cpp_lib_constexpr_unordered_map 202502L // also in <unordered_map>
```
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJx0ks9u2zAMxp-GvhAOHMp_Dz6k6XLahmEvEMgSHatVJE-Sg-XtB7vZ2h4GELDFw-_j95EyRnNxzD1UT1A9Z3JJkw_9GFhzMOo1v8X8RWaD1_f-m3xlhLpYnA-aA-vzVc5QF6i8i4l_zwFlxFmGhH7EH0I09FPsoDhAcfjuE2OaZFoBzmvOJ-m0ZRAHEIdXvgO1QN1KMxGNS-yS8U5ae0fLY0Ln07sO0BGl05gmfm_mjmNEK8OF7R0D_1pM4IgSl8gh1zwaxxonGSccF6eSD4_ZTizTEjhPHBNepQoegVppo0flbxziB4Of7S82mbcM1tnFClv_tzoCPa1VHIDEmzqez2qez9YM53_E86c0kQqqCvqKQCegE25DGIcgjp9TF18-amW6F7oTncy43zdlUTbUtCKb-laTKuuKmfZVS7QfGtG1pIqx02VT0ZiZ_k2RqqIVXSl2neq0KNt93bT7knQFZcFXaezO2tt158MlMzEu3O-pres6s3JgG7frIbJmUA_XREBHIHq8qV471XMW-pWTD8slQllYE1N8JyeT7HaJH0DV899LAnH47yK2HWRLsP2U0hzXVWwBXkyalmGn_BXotOo8Pvkc_AurBHTa7ESg08PRrac_AQAA__-QSfhY">