Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Neargye/magic_enum
/ compare
Method
compare
test/test_aliases.cpp:83–83 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
81
82
constexpr MyStringView(const char* cstr) : str{ cstr } {}
83
constexpr int compare(const char* s) const { return str.compare(s); }
84
85
private:
86
std::string_view str;
Callers
nothing calls this directly
Calls
1
compare
Method · 0.45
Tested by
no test coverage detected