// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. #ifndef OPENCV_DNN_SRC_CUDA4DNN_CXX_UTILS_IS_ITERATOR_HPP #define OPENCV_DNN_SRC_CUDA4DNN_CXX_UTILS_IS_ITERATOR_HPP #include #include namespace cv { namespace dnn { namespace cuda4dnn { namespace cxx_utils { namespace detail { template struct is_iterator_helper : std::false_type {}; template struct is_iterator_helper::iterator_category>::value, void>::type > : std::true_type {}; } template using is_iterator = typename detail::is_iterator_helper; template using is_forward_iterator = typename detail::is_iterator_helper; }}}} /* namespace cv::dnn::cuda4dnn::csl::cxx_utils */ #endif /* OPENCV_DNN_SRC_CUDA4DNN_CXX_UTILS_IS_ITERATOR_HPP */