MCPcopy Create free account
hub / github.com/GDRETools/gdsdecomp / max_size_impl

Method max_size_impl

external/parallel_hashmap/phmap_base.h:1564–1566  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1562
1563 template <typename A>
1564 static auto max_size_impl(int, const A& a) -> decltype(a.max_size()) {
1565 return a.max_size();
1566 }
1567 static size_type max_size_impl(char, const Alloc&) {
1568 return (std::numeric_limits<size_type>::max)() / sizeof(value_type);
1569 }

Callers

nothing calls this directly

Calls 1

max_sizeMethod · 0.45

Tested by

no test coverage detected