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
Concepts.hpp File Reference
#include <concepts>
#include <string>
#include <type_traits>
+ Include dependency graph for Concepts.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  galaxy
 Animated.cpp galaxy.
 
namespace  galaxy::meta
 

Concepts

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

Variables

template<class T , template< class... > class U>
constexpr bool galaxy::meta::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 galaxy::meta::is_instance_of_v< U< Vs... >, U > = std::true_type {}