ArithmeticType Concept Reference
|
Developer Documentation
|
MeltPoolDG::ArithmeticType Concept Reference
#include <concepts.hpp>
Concept definition
template<typename T>
{
a + b
} -> std::convertible_to<T>;
{
a - b
} -> std::convertible_to<T>;
{
a *b
} -> std::convertible_to<T>;
{
a / b
} -> std::convertible_to<T>;
}
Definition concepts.hpp:13
Detailed Description
A concept defining the requirements for a type to be considered an arithmetic type. This concept is used to ensure that types used in mathematical operations support basic arithmetic operations such as addition, subtraction, multiplication, and division.
Generated by