MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / rawMemoryToString

Function rawMemoryToString

tests/catch.hpp:2306–2309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2304std::string rawMemoryToString(const void *object, std::size_t size);
2305
2306template<typename T> std::string rawMemoryToString(const T &object)
2307{
2308 return rawMemoryToString(&object, sizeof(object));
2309}
2310
2311template<typename T> class IsStreamInsertable {
2312 template<typename Stream, typename U>

Callers 2

convertMethod · 0.85
convertMethod · 0.85

Calls 1

strMethod · 0.80

Tested by

no test coverage detected