Helios Engine 0.1.0
A modular ECS based data-oriented C++23 game engine
 
Loading...
Searching...
No Matches
helios::app::SubAppWithNameTrait Concept Reference

Trait to identify sub-apps with custom names. More...

#include <sub_app.hpp>

Concept definition

template<typename T>
{ T::GetName() } -> std::same_as<std::string_view>;
}
Trait to identify valid sub-app types.
Definition sub_app.hpp:43
Trait to identify sub-apps with custom names.
Definition sub_app.hpp:51

Detailed Description

Trait to identify sub-apps with custom names.

A sub-app with name trait must satisfy SubAppTrait and provide:

  • static constexpr std::string_view GetName() noexcept

Definition at line 51 of file sub_app.hpp.