OpenCV  4.6.0
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 <opencv2/gapi/util/variant.hpp>

Static Public Attributes

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

Member Data Documentation

◆ is_same

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

◆ value

template<std::size_t I, typename Target , typename First , typename... Remaining>
constexpr const std::size_t cv::util::detail::type_list_index_helper< I, Target, First, Remaining >::value
staticconstexpr
Initial value:
=
std::conditional<is_same, std::integral_constant<std::size_t, I>, type_list_index_helper<I + 1, Target, Remaining...>>::type::value
Target
Enum of target devices for computations.
Definition: dnn.hpp:90

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