vecs
Fast, flexible ecs in C++ with ergonomic API
Loading...
Searching...
No Matches
vecs::into_system_param< T > Struct Template Reference

A template for converting types into system parameters. More...

#include <vecs.h>

Inheritance diagram for vecs::into_system_param< T >:
vecs::into_system_param< T & > vecs::into_system_param< const T & >

Detailed Description

template<typename T>
struct vecs::into_system_param< T >

A template for converting types into system parameters.

The into_system_param struct is a template that enforces specialization for specific types used as system parameters. If a type is not specialized, a compile-time error is triggered.

The primary template does not provide an implementation for get, and will result in a static assertion failure if not specialized, helping enforce that only certain types are valid system parameters.

Template Parameters
TThe type to be converted into a system parameter.

The documentation for this struct was generated from the following file: