Itérateur sur une lambda pour positionner une valeur via un index. Plus de détails...
#include <arcane/accelerator/Scan.h>
Classes | |
class | Setter |
Permet de positionner un élément de l'itérateur de sortie. Plus de détails... | |
Types publics | |
using | value_type = DataType |
using | iterator_category = std::random_access_iterator_tag |
using | reference = Setter |
using | difference_type = ptrdiff_t |
using | pointer = void |
using | ThatClass = SetterLambdaIterator< DataType, SetterLambda > |
Fonctions membres publiques | |
ARCCORE_HOST_DEVICE | SetterLambdaIterator (const SetterLambda &s) |
ARCCORE_HOST_DEVICE | SetterLambdaIterator (const SetterLambda &s, Int32 v) |
ARCCORE_HOST_DEVICE ThatClass & | operator++ () |
ARCCORE_HOST_DEVICE ThatClass | operator- (Int32 x) |
ARCCORE_HOST_DEVICE Int32 | operator- (const ThatClass &x) const |
ARCCORE_HOST_DEVICE reference | operator* () const |
ARCCORE_HOST_DEVICE reference | operator[] (Int32 x) const |
Attributs privés | |
Int32 | m_index = 0 |
SetterLambda | m_lambda |
Amis | |
ARCCORE_HOST_DEVICE friend ThatClass | operator+ (const ThatClass &iter, Int32 x) |
ARCCORE_HOST_DEVICE friend ThatClass | operator+ (Int32 x, const ThatClass &iter) |
ARCCORE_HOST_DEVICE friend bool | operator< (const ThatClass &iter1, const ThatClass &iter2) |
ARCCORE_HOST_DEVICE friend bool | operator!= (const ThatClass &a, const ThatClass &b) |
Itérateur sur une lambda pour positionner une valeur via un index.
using Arcane::Accelerator::GenericScanner::SetterLambdaIterator< DataType, SetterLambda >::difference_type = ptrdiff_t |
using Arcane::Accelerator::GenericScanner::SetterLambdaIterator< DataType, SetterLambda >::iterator_category = std::random_access_iterator_tag |
using Arcane::Accelerator::GenericScanner::SetterLambdaIterator< DataType, SetterLambda >::pointer = void |
using Arcane::Accelerator::GenericScanner::SetterLambdaIterator< DataType, SetterLambda >::reference = Setter |
using Arcane::Accelerator::GenericScanner::SetterLambdaIterator< DataType, SetterLambda >::ThatClass = SetterLambdaIterator<DataType, SetterLambda> |
using Arcane::Accelerator::GenericScanner::SetterLambdaIterator< DataType, SetterLambda >::value_type = DataType |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |