remora::gpu::detail::indexed_iterator< Closure > Class Template Reference

#include <shark/LinAlg/BLAS/gpu/traits.hpp>

+ Inheritance diagram for remora::gpu::detail::indexed_iterator< Closure >:

Public Member Functions

 indexed_iterator ()=default
 
 indexed_iterator (Closure const &closure, std::size_t index)
 
template<class C >
 indexed_iterator (indexed_iterator< C > const &other)
 
template<class C >
indexed_iteratoroperator= (indexed_iterator< C > const &other)
 
size_t get_index () const
 
template<class Expr >
auto operator[] (Expr const &expr) const -> decltype(std::declval< Closure >()(expr))
 

Friends

class ::boost::iterator_core_access
 
template<class >
class indexed_iterator
 

Detailed Description

template<class Closure>
class remora::gpu::detail::indexed_iterator< Closure >

Definition at line 210 of file traits.hpp.

Constructor & Destructor Documentation

◆ indexed_iterator() [1/3]

template<class Closure>
remora::gpu::detail::indexed_iterator< Closure >::indexed_iterator ( )
default

◆ indexed_iterator() [2/3]

template<class Closure>
remora::gpu::detail::indexed_iterator< Closure >::indexed_iterator ( Closure const &  closure,
std::size_t  index 
)
inline

Definition at line 218 of file traits.hpp.

◆ indexed_iterator() [3/3]

template<class Closure>
template<class C >
remora::gpu::detail::indexed_iterator< Closure >::indexed_iterator ( indexed_iterator< C > const &  other)
inline

Definition at line 223 of file traits.hpp.

Member Function Documentation

◆ get_index()

template<class Closure>
size_t remora::gpu::detail::indexed_iterator< Closure >::get_index ( ) const
inline

Definition at line 234 of file traits.hpp.

◆ operator=()

template<class Closure>
template<class C >
indexed_iterator& remora::gpu::detail::indexed_iterator< Closure >::operator= ( indexed_iterator< C > const &  other)
inline

Definition at line 228 of file traits.hpp.

◆ operator[]()

template<class Closure>
template<class Expr >
auto remora::gpu::detail::indexed_iterator< Closure >::operator[] ( Expr const &  expr) const -> decltype(std::declval<Closure>()(expr))
inline

Definition at line 240 of file traits.hpp.

Friends And Related Function Documentation

◆ ::boost::iterator_core_access

template<class Closure>
friend class ::boost::iterator_core_access
friend

Definition at line 245 of file traits.hpp.

◆ indexed_iterator

template<class Closure>
template<class >
friend class indexed_iterator
friend

Definition at line 288 of file traits.hpp.


The documentation for this class was generated from the following file: