Skip to main content

FloatingPointTypeTrait.ixx File

Included Headers

#include <type_traits>

Namespaces Index

namespacehelios
namespacemath

File Listing

The file content with the documentation metadata removed is:

1module;
2
3#include <type_traits>
4
5export module helios.math.traits.FloatingPointType;
6
7
8
9export namespace helios::math {
10
17 template <typename T>
18 using FloatingPointType = std::conditional_t<
19 std::is_floating_point_v<T>,
20 T,
21 double
22 >;
23
24
25}

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.