MCPcopy Create free account
hub / github.com/fmtlib/fmt / custom_container

Class custom_container

test/base-test.cc:865–875  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

863}
864
865struct custom_container {
866 char data;
867
868 using value_type = char;
869
870 auto size() const -> size_t { return 0; }
871 void resize(size_t) {}
872
873 void push_back(char) {}
874 auto operator[](size_t) -> char& { return data; }
875};
876
877FMT_BEGIN_NAMESPACE
878template <> struct is_contiguous<custom_container> : std::true_type {};

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68