Loading...
Searching...
No Matches
gridfire::engine::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::engine::EngineType = std::is_base_of_v<Engine, EngineT> || std::is_base_of_v<DynamicEngine, EngineT>
gridfire::engine::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>);