ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
detray::concepts::interval Concept Reference

Concept that checks if a type models an interval of some value that can be obtained with 'get'. More...

#include <detray/utils/concepts.hpp>

Concept definition

template<typename I>
concept detray::concepts::interval = requires(I i) {
requires(!std::is_fundamental_v<std::remove_cvref_t<I>>);
{ detray::detail::get<0>(i) } -> concepts::arithmetic_cvref;
{ detray::detail::get<1>(i) } -> concepts::arithmetic_cvref;
}
Definition concepts.hpp:24
Concept that checks if a type models an interval of some value that can be obtained with 'get'.
Definition concepts.hpp:41

Detailed Description

Concept that checks if a type models an interval of some value that can be obtained with 'get'.