include/ck/library/utility/iterator.hpp File Reference

include/ck/library/utility/iterator.hpp File Reference#

Composable Kernel: include/ck/library/utility/iterator.hpp File Reference
iterator.hpp File Reference
#include <iterator>
#include <utility>
#include "ck/utility/type.hpp"

Go to the source code of this file.

Namespaces

 ck
 

Typedefs

template<typename T >
using ck::iter_value_t = typename std::iterator_traits< remove_cvref_t< T > >::value_type
 
template<typename T >
using ck::iter_reference_t = decltype(*std::declval< T & >())
 
template<typename T >
using ck::iter_difference_t = typename std::iterator_traits< remove_cvref_t< T > >::difference_type