MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / get_data

Function get_data

extlibs/fmt/include/fmt/format.h:331–333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

329
330// A workaround for std::string not having mutable data() until C++17.
331template <typename Char> inline Char* get_data(std::basic_string<Char>& s) {
332 return &s[0];
333}
334template <typename Container>
335inline typename Container::value_type* get_data(Container& c) {
336 return c.data();

Callers 1

reserveFunction · 0.85

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected