Skip to main content

Numeric.ixx File

Included Headers

#include <concepts>

Namespaces Index

namespacehelios
namespacemath

Mathematical operations and types. More...

File Listing

The file content with the documentation metadata removed is:

1module;
2
3#include <concepts>
4
5export module helios.math.concepts:Numeric;
6
7export namespace helios::math {
8
9 /**
10 * @brief Concept to constrain types to either integral or floating point.
11 *
12 * This concept should be used whenever template parameter constrain a
13 * specific type to be a numeric type.
14 */
15 template<typename T>
16 concept Numeric = std::integral<T> || std::floating_point<T>;
17}

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.