SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
concepts.hpp File Reference

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. More...

#include <string_view>
#include <type_traits>
#include "serif/dimensions/quantities.hpp"
#include "serif/dimensions/runtime/runtime.hpp"
Include dependency graph for concepts.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  serif
 
namespace  serif::dimensions
 
namespace  serif::dimensions::runtime
 

Concepts

concept  serif::dimensions::runtime::RuntimeIdentifiedThermodynamicQuantity
 

Variables

template<RuntimeIdentifiedThermodynamicQuantity Quantity>
constexpr ThermodynamicQuantityID serif::dimensions::runtime::thermodynamicQuantityID {std::string_view{Quantity::identifier}}
 Extract a compile time identifier from a thermodynamic quantity and project it into a runtime string_view.
 

Detailed Description

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.

Author
Emily M. Boudreaux