Lodestone.Common
Loading...
Searching...
No Matches
projects
Libraries
Common
include
Lodestone.Common
util
Concepts.h
Go to the documentation of this file.
1
//
2
// Created by DexrnZacAttack on 2/15/26 using zPc-i2.
3
//
4
#ifndef LODESTONE_CONCEPTS_H
5
#define LODESTONE_CONCEPTS_H
6
#include <concepts>
7
#include <type_traits>
8
9
namespace
lodestone::common::util::concepts
{
10
template
<
typename
Base,
typename
Type>
11
concept
void_or_derived_from_v
= std::is_void_v<Type> || std::is_base_of_v<Base, Type>;
12
}
13
14
#endif
// LODESTONE_CONCEPTS_H
lodestone::common::util::concepts::void_or_derived_from_v
Definition
Concepts.h:11
lodestone::common::util::concepts
Definition
Concepts.h:9
Generated by
1.15.0