Struct is_iterator< Type, std::enable_if_t<!std::is_same_v< std::remove_const_t< std::remove_pointer_t< Type > >, void > > >

Synopsis

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

template<typename Type>
struct is_iterator<Type, std::enable_if_t<!std::is_same_v<std::remove_const_t<std::remove_pointer_t<Type>>, void>>>
    : internal::has_iterator_category<Type>

Description

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

Template Parameters

Type - The type to test.

Inheritance

Ancestors: internal::has_iterator_category< Type >

Source

Lines 478-480 in src/entt/core/type_traits.hpp.

template<typename Type>
struct is_iterator<Type, std::enable_if_t<!std::is_same_v<std::remove_const_t<std::remove_pointer_t<Type>>, void>>>
    : internal::has_iterator_category<Type> {};





Add Discussion

Log in to comment