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

Concept to check if a Module provides a GetName() method. More...

#include <module.hpp>

Concept definition

template<typename T>
{ T::GetName() } -> std::same_as<std::string_view>;
}
Concept to ensure a type is a valid Module.
Definition module.hpp:72
Concept to check if a Module provides a GetName() method.
Definition module.hpp:80

Detailed Description

Concept to check if a Module provides a GetName() method.

A Module with name trait must satisfy ModuleTrait and provide:

  • static constexpr std::string_view GetName() noexcept

Definition at line 80 of file module.hpp.