Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 55e82041 authored by gsell's avatar gsell
Browse files

cleanup: revert remove of some for_each() templates

parent 401f28f7
No related branches found
No related tags found
1 merge request!266Resolve "cleanup: make IPPL compile with -Wextra and -Werror"
...@@ -579,6 +579,14 @@ for_each(const IndexedBareFieldIterator<T,D>& p, ...@@ -579,6 +579,14 @@ for_each(const IndexedBareFieldIterator<T,D>& p,
return 0; return 0;
} }
template<class T, class C, unsigned int D, unsigned int D1, class T1>
inline int
for_each(const BareFieldIterator<T,D>& /*p*/,
const FillGCIfNecessaryTag<D1,T1> &, C)
{
return 0;
}
template<class T, class C, unsigned int D, class T1> template<class T, class C, unsigned int D, class T1>
inline int inline int
for_each(const PETE_Scalar<T>&, const FillGCIfNecessaryTag<D,T1> &, C) for_each(const PETE_Scalar<T>&, const FillGCIfNecessaryTag<D,T1> &, C)
......
...@@ -150,6 +150,18 @@ for_each(const SequenceGen<GT>& p, const EvalFunctor_3&) ...@@ -150,6 +150,18 @@ for_each(const SequenceGen<GT>& p, const EvalFunctor_3&)
return p(); return p();
} }
//
// Does it have unit stride?
// Not really a sensible question, but it is safe to say it does.
//
template<class GT, class C>
inline bool
for_each(const SequenceGen<GT>& /*p*/, HasUnitStride, C)
{
return true;
}
// //
// RNG ignores step functor // RNG ignores step functor
// //
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment