TRIQS/nda 2.0.0
Multi-dimensional array library for C++
Loading...
Searching...
No Matches
nda::FloatOrDouble

#include <nda/concepts.hpp>

Detailed Description

Check if a given type is either a float or double type.

Template Parameters
SType to check.

Definition at line 97 of file concepts.hpp.

Concept definition

template<typename S>
concept FloatOrDouble = std::same_as<float, std::remove_cvref_t<S>> or std::same_as<double, std::remove_cvref_t<S>>
Check if a given type is either a float or double type.
Definition concepts.hpp:97