|
ACTS
Experiment-independent tracking
|
Get the position of a type in a template parameter pack. More...
#include <detray/utils/type_traits.hpp>
Static Public Member Functions | |
| template<typename first_t, typename... remaining_types> | |
| static constexpr std::size_t | type_pos_back () |
| Unroll a parameter pack without using a tuple to find T. | |
Static Public Attributes | |
| static constexpr std::size_t | value = sizeof...(Ts) - type_pos_back<Ts...>() |
| Zero-based position of T in Ts.... | |
Get the position of a type in a template parameter pack.
|
staticconstexpr |
Unroll a parameter pack without using a tuple to find T.
| first_t | current type being compared |
| remaining_types | types still to examine |