MCPcopy Create free account
hub / github.com/Neargye/magic_enum / check_const

Function check_const

test/test_containers.cpp:66–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64};
65
66template <typename T> bool check_const([[maybe_unused]]T& element) { return false; }
67template <typename T> bool check_const([[maybe_unused]]T const& element) { return true; }
68
69constexpr std::uint8_t color_max = std::numeric_limits<std::uint8_t>::max();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected