MCPcopy Create free account
hub / github.com/bytedance/sonic-cpp / max_size

Method max_size

include/sonic/allocator.h:504–504  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

502 void construct(pointer p, const T& val) { new ((T*)p) T(val); }
503 void destroy(pointer p) { p->~T(); }
504 size_type max_size() const { return size_t(-1); }
505
506 template <typename U>
507 struct rebind {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected