Struct is_iterator_type< Type, It, std::enable_if_t< is_iterator_v< Type > &&std::is_same_v< Type, It > > >

Synopsis

#include <src/entt/core/type_traits.hpp>

template<typename Type, typename It>
struct is_iterator_type<Type, It, std::enable_if_t<is_iterator_v<Type> && std::is_same_v<Type, It>>>
    : std::true_type

Description

Provides the member constant value to true if a given type is of the required iterator type, false otherwise.

Template Parameters

Type - The type to test.

It - Required iterator type.

Inheritance

Ancestors: true_type

Source

Lines 543-546 in src/entt/core/type_traits.hpp.

template<typename Type, typename It>
struct is_iterator_type<Type, It, std::enable_if_t<is_iterator_v<Type> && std::is_same_v<Type, It>>>
    : std::true_type
{};





Add Discussion

Log in to comment