MCPcopy Create free account
hub / github.com/Tessil/robin-map / max_size

Method max_size

tests/custom_allocator_tests.cpp:83–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81 void deallocate(T* p, size_type /*n*/) { std::free(p); }
82
83 size_type max_size() const noexcept {
84 return std::numeric_limits<size_type>::max() / sizeof(value_type);
85 }
86
87 template <typename U, typename... Args>
88 void construct(U* p, Args&&... args) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected