ALP User Documentation  0.8.preview
Algebraic Programming User Documentation
Classes | Namespaces | Functions
adapter.hpp File Reference

Defines an iterator that adapts the values returned by a sub-iterator according to some user-defined lambda. More...

Go to the source code of this file.

Classes

class  Adapter< SubIterT, >
 An iterator that simply adapts the values returned by another iterator. More...
 

Namespaces

 grb
 The ALP/GraphBLAS namespace.
 
 grb::utils::iterators
 Collects various useful STL-compatible iterators.
 

Functions

template<typename SubIterT >
static Adapter< SubIterT > make_adapter_iterator (const SubIterT start, const SubIterT end, const std::function< typename SubIterT::value_type(const typename SubIterT::value_type) > func)
 Creates an adapter of a given iterator. More...
 

Detailed Description

Defines an iterator that adapts the values returned by a sub-iterator according to some user-defined lambda.

Author
A. N. Yzelman
Date
19/12/2023