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::CNumber Concept Reference

Checks whether T supports arithmetic operations. Effectively checking std::is_arithmetic<>. More...

#include <traits.h>

Concept definition

template<typename T>
concept ph::CNumber = std::is_arithmetic_v<T>
Checks whether T supports arithmetic operations. Effectively checking std::is_arithmetic<>.
Definition traits.h:110

Detailed Description

Checks whether T supports arithmetic operations. Effectively checking std::is_arithmetic<>.