nlsr::is_iterator< T, typename std::enable_if<!std::is_same< typename std::iterator_traits< T >::value_type, void >::value >::type > Struct Template Reference

#include <common.hpp>

+ Collaboration diagram for nlsr::is_iterator< T, typename std::enable_if<!std::is_same< typename std::iterator_traits< T >::value_type, void >::value >::type >:

Static Public Attributes

static constexpr bool value = true
 

Detailed Description

template<typename T>
struct nlsr::is_iterator< T, typename std::enable_if<!std::is_same< typename std::iterator_traits< T >::value_type, void >::value >::type >

Use C++11 iterator_traits to check if some type is an iterator

Definition at line 51 of file common.hpp.

Member Data Documentation

◆ value

template<typename T >
constexpr bool nlsr::is_iterator< T, typename std::enable_if<!std::is_same< typename std::iterator_traits< T >::value_type, void >::value >::type >::value = true
static

Definition at line 55 of file common.hpp.