CNORXZ
Container with Native Operation Routines and Expressions
Loading...
Searching...
No Matches
iter.h
Go to the documentation of this file.
1// -*- C++ -*-
14#ifndef __cxz_iter_h__
15#define __cxz_iter_h__
16
17#include <cstdlib>
18#include "types.h"
19
20namespace CNORXZ
21{
23 template <class G, class F, SizeT... Is>
24 constexpr decltype(auto) iteri(const G& g, const F& f, Isq<Is...> is);
35 template <SizeT B, SizeT E, class G, class F>
36 constexpr decltype(auto) iter(const G& g, const F& f);
37
39 template <SizeT E, SizeT I, class G, class F, class C, typename... Args>
40 constexpr decltype(auto) iterIfi(const G& g, const F& f, const C& c, const Args&... args);
53 template <SizeT B, SizeT E, class G, class F, class C>
54 constexpr decltype(auto) iterIf(const G& g, const F& f, const C& c);
55}
56
57#endif
Sptr< Range > rangeCast(const RangePtr r)
constexpr decltype(auto) iterIf(const G &g, const F &f, const C &c)
Definition iter.cc.h:63
constexpr decltype(auto) iter(const G &g, const F &f)
Definition iter.cc.h:34
Declaration of all library types.