Raven Engine v0.1
Loading...
Searching...
No Matches
Raven::RTApp Concept Reference

Concept to check if T is a Raven application type. More...

#include <Concepts.h>

Concept definition

template<typename T>
concept Raven::RTApp = requires(T t, int argc, char** argv) {
{ t.Initialize(argc, argv) } -> std::same_as<void>;
{ t.Run() } -> std::same_as<void>;
{ t.Shutdown() } -> std::same_as<void>;
}
Concept to check if T is a Raven application type.
Definition Concepts.h:49

Detailed Description

Concept to check if T is a Raven application type.

This concept checks whether the class T is a valid class to be used as an Application.

Template Parameters
TThe type to check