5#include "enum_metadata.hpp"
8namespace hi {
inline namespace v1 {
15enum class policy { unspecified, low_power, high_performance };
18constexpr auto policy_metadata = enum_metadata{
19 policy::unspecified,
"unspecified",
20 policy::low_power,
"low-power",
21 policy::high_performance,
"high-performance"
27template<
typename CharT>
28struct std::formatter<
hi::policy, CharT> : std::formatter<std::string_view, CharT> {
31 return std::formatter<std::string_view, CharT>::format(hi::policy_metadata[t], fc);
DOXYGEN BUG.
Definition algorithm.hpp:13
geometry/margins.hpp
Definition cache.hpp:11
policy
The performance policy to use.
Definition policy.hpp:15