concepts.hpp string_view type_traits serif/dimensions/quantities.hpp serif/dimensions/runtime/runtime.hpp src/include/serif/eos/runtime/details.hpp serif serif::dimensions serif::dimensions::runtime Runtime concept for a type that can be projected to a runtime type. This is useful when converting from the compile time type system to something that can be inspected at runtime. Emily M. Boudreaux #pragmaonce #include<string_view> #include<type_traits> #include"serif/dimensions/quantities.hpp" #include"serif/dimensions/runtime/runtime.hpp" namespaceserif::dimensions::runtime{ template<typenameQuantity> conceptRuntimeIdentifiedThermodynamicQuantity= ThermodynamicQuantityType<Quantity>&& requires{{Quantity::identifier}->std::convertible_to<std::string_view>;}&& (std::string_view{Quantity::identifier}.size()>0); template<RuntimeIdentifiedThermodynamicQuantityQuantity> inlineconstexprThermodynamicQuantityIDthermodynamicQuantityID{std::string_view{Quantity::identifier}}; }