36 #ifndef AFF_MAPPER_H_VERSION 38 #define AFF_MAPPER_H_VERSION \ 65 template<
template<
class>
class C,
class F>
66 C<typename F::Toutvalue>
67 mapvalues(
const typename C<typename F::Tinvalue>::Tcoc& c,
70 typedef typename C<typename F::Tinvalue>::Tcoc Tin;
71 typedef C<typename F::Toutvalue> Tout;
72 Tout retval(c.shape());
75 while(browser.valid() && iterator.
valid())
77 *iterator = exfun(*browser);
90 #endif // AFF_MAPPER_H_VERSION (includeguard) Root namespace of library.
C< typename F::Toutvalue > mapvalues(const typename C< typename F::Tinvalue >::Tcoc &c, const F &exfun)
bool valid() const
delegate to stepper
Define the iterator class template (prototypes)