MCPcopy Create free account
hub / github.com/Neargye/magic_enum / equal_range

Method equal_range

include/magic_enum/magic_enum_containers.hpp:1047–1047  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1045 }
1046
1047 [[nodiscard]] constexpr std::pair<const_iterator, const_iterator> equal_range(const key_type& key) const noexcept { return {lower_bound(key), upper_bound(key)}; }
1048
1049 template <typename K, typename KC = key_compare>
1050 [[nodiscard]] constexpr std::enable_if_t<detail::is_transparent_v<KC>, std::pair<const_iterator, const_iterator>> equal_range(const K& x) const noexcept {

Callers

nothing calls this directly

Calls 1

lower_boundFunction · 0.85

Tested by

no test coverage detected