8#ifndef DATASTRUCTURES_H_
9#define DATASTRUCTURES_H_
347 swap = !(key1 == x1);
348 return ((key1 == x1 && key2 == x2) || (key2 == x1 && key1 == x2));
483extern void apply_simple_mixing_rule(
const std::string& identifier1,
const std::string& identifier2,
const std::string& rule);
533#if !defined(NO_FMTLIB) && FMT_VERSION >= 90000
536 return fmt::underlying(parameter);
539inline int format_as(
phases phase) {
540 return fmt::underlying(phase);
543inline int format_as(
schemes scheme) {
544 return fmt::underlying(scheme);
548 return fmt::underlying(type);
552 return fmt::underlying(type);
556 return fmt::underlying(pair);
560 return fmt::underlying(family);
563inline int format_as(
backends backend) {
564 return fmt::underlying(backend);