Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::CBase Concept Reference

Checks whether BaseType is a base of DerivedType. The result is also true if both types are the same; false if one of them is a primitive type. More...

#include <traits.h>

Concept definition

template<typename BaseType, typename DerivedType>
concept ph::CBase = std::derived_from<DerivedType, BaseType>
Checks whether BaseType is a base of DerivedType. The result is also true if both types are the same;...
Definition traits.h:128

Detailed Description

Checks whether BaseType is a base of DerivedType. The result is also true if both types are the same; false if one of them is a primitive type.