Date
2025-03-27.17:14:54
Message id
14704

Content

Proposed resolution:

This wording is relative to N5008.

  1. Modify [hive.erasure] as indicated:

    template<class T, class Allocator, class U = T>
      typename hive<T, Allocator>::size_type
        erase(hive<T, Allocator>& c, const U& value);
    

    -1- Effects: Equivalent to:

    return erase_if(c, [&](const auto& elem) -> bool { return elem == value; });