MCPcopy Create free account
hub / github.com/celtera/libremidi / enum_name

Function enum_name

examples/protocols/remote_control.cpp:16–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14namespace magic_enum
15{
16std::string enum_name(auto cmd)
17{
18 std::stringstream ss;
19 ss << "0x" << std::setbase(16) << static_cast<uint32_t>(cmd);
20 return ss.str();
21}
22}
23#endif
24

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected