OpenCV  4.0.1
Open Source Computer Vision
Static Public Attributes | List of all members
cv::util::detail::type_list_index_helper< I, Target, First, Remaining > Struct Template Reference

#include "variant.hpp"

Static Public Attributes

static const constexpr bool is_same = std::is_same<Target, First>::value
 
static const constexpr std::size_t value
 

Member Data Documentation

§ is_same

template<std::size_t I, typename Target , typename First , typename... Remaining>
const constexpr bool cv::util::detail::type_list_index_helper< I, Target, First, Remaining >::is_same = std::is_same<Target, First>::value
static

§ value

template<std::size_t I, typename Target , typename First , typename... Remaining>
const constexpr std::size_t cv::util::detail::type_list_index_helper< I, Target, First, Remaining >::value
static
Initial value:
=
std::conditional<is_same, std::integral_constant<std::size_t, I>, type_list_index_helper<I + 1, Target, Remaining...>>::type::value

The documentation for this struct was generated from the following file: