galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
Loading...
Searching...
No Matches
galaxy::meta Namespace Reference

Classes

class  EntityFactory
 Handles entity meta (de)serialization. More...
 

Concepts

concept  is_class
 Only class concept.
 
concept  not_memory
 Concept to restrict templates to not pointers and not references.
 
concept  is_arithmetic
 Arithmetic concept.
 
concept  standard_type
 Ensures a type is arithmetic or a std::string.
 
concept  is_object
 Tests for a type being a class, union, array, scalar or integral constant.
 
concept  is_bitset_flag
 Makes sure a value is a valid value for a std::bitset.
 
concept  valid_component
 Makes sure a type is a valid component.
 
concept  is_system
 Concept to ensure a system is actually derived from a System.
 

Variables

template<class T , template< class... > class U>
constexpr bool is_instance_of_v = std::false_type {}
 Makes sure a template specialization is an instance of a template class.
 
template<template< class... > class U, class... Vs>
constexpr bool is_instance_of_v< U< Vs... >, U > = std::true_type {}
 

Variable Documentation

◆ is_instance_of_v

template<class T , template< class... > class U>
bool galaxy::meta::is_instance_of_v = std::false_type {}
inlineconstexpr

Makes sure a template specialization is an instance of a template class.

Template Parameters
TBase type i.e. std::vector.
USpecialization i.e. std::vector<int>

Definition at line 96 of file Concepts.hpp.

◆ is_instance_of_v< U< Vs... >, U >

template<template< class... > class U, class... Vs>
bool galaxy::meta::is_instance_of_v< U< Vs... >, U > = std::true_type {}
inlineconstexpr

Definition at line 98 of file Concepts.hpp.