Fermat
Public Types | Public Methods | Public Members | List of all members
cugar::gather_functor< Iterator, index_type > Struct Template Reference

Detailed description

template<typename Iterator, typename index_type = uint32>
struct cugar::gather_functor< Iterator, index_type >

Build a gathering functor

#include <functors.h>

Public Types

typedef index_type argument_type
 
typedef std::iterator_traits< Iterator >::value_type result_type
 

Public Methods

CUGAR_FORCEINLINE CUGAR_HOST_DEVICE gather_functor (const Iterator perm)
 
CUGAR_FORCEINLINE CUGAR_HOST_DEVICE result_type operator() (const argument_type op) const
 

Public Members

Iterator m_perm
 

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