GridFire 0.0.1a General Purpose Nuclear Network

Loading...
Searching...
No Matches
gridfire::EngineType Concept Reference

Concept for types allowed as engine bases in EngineView. More...

`#include <engine_view_abstract.h>`

## Concept definition

template<typename EngineT>
concept gridfire::EngineType = std::is_base_of_v<Engine, EngineT> || std::is_base_of_v<DynamicEngine, EngineT>
gridfire::EngineType
Concept for types allowed as engine bases in EngineView.
Definition engine_view_abstract.h:42

## Detailed Description

Concept for types allowed as engine bases in EngineView.

This concept restricts template parameters to types derived from either gridfire::Engine or gridfire::DynamicEngine, as defined in engine_abstract.h.

Example usage:

static_assert(EngineType<MyEngine>);

Definition at line 42 of file engine_view_abstract.h.