Loading [MathJax]/extensions/tex2jax.js
Photon Engine 2.0.0-beta
A physically based renderer.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages Concepts
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.