mpqc::utility::meta::last_type< Args > Struct Template Reference
Documentation
template<typename... Args>
struct mpqc::utility::meta::last_type< Args >
How to get the last type out of a parameter pack adapted taken from http://stackoverflow.com/questions/4691657/ is-it-possible-to-store-a-template-parameter-pack-without-expanding-it
Public Types | |
using | type = decltype(std::get< size - 1 >(std::declval< std::tuple< Args... > >())) |
Static Public Attributes | |
static constexpr auto | size = sizeof...(Args) |
Member Typedef Documentation
◆ type
template<typename... Args>
using mpqc::utility::meta::last_type< Args >::type = decltype(std::get<size - 1>(std::declval<std::tuple<Args...> >())) |
Member Data Documentation
◆ size
template<typename... Args>
|
staticconstexpr |
The documentation for this struct was generated from the following files:
- mpqc/util/meta/get_type.h
- mpqc/util/meta/store_variadic_pack.h