Querying Lists¶
-
template<typename L>
constexpr bool core::mp::empty_v = empty<L>::value¶ Is the list empty?
- Template Parameters:
L – The list
- Return:
True if the list is empty, false otherwise.
-
template<typename V, typename L>
constexpr std::size_t core::mp::find_index_v = find_index_t<V, L>::value¶
-
template<typename L>
using core::mp::head_t = typename head<L>::type¶ The first type in type list L.
- Template Parameters:
L – The type list.
-
template<class T, template<class...> class U>
static constexpr bool core::mp::is_same_template_v = is_same_template<T, T, U>::value¶ Is class T a realization of template U?
- Template Parameters:
T – the class to test
U – the template to compare