[Dune-devel] dune-grid-howto with SGrid and ranged-based for

Christoph Grüninger christoph.grueninger at iws.uni-stuttgart.de
Fri Oct 17 09:15:14 CEST 2014


Hi Dominic,
you are right. But we count introduce it properly in 
traversal.cc
as an additional part that is surrounded by
#ifdef HAVE_RANGE_BASED_FOR
But somebody has to do the actual work...

Bye
Christoph


Dominic Kempf <dominic.r.kempf at gmail.com> schrieb:
> Hey Christoph,
> 
> I guess its either properly introduced range based for or 
> consistency with the set of minimal supported compilers.
> While I am tempted to opt for the first, the latter seems
> like a sacred cow...
> 
> Dominic
> 
> On Fri, Oct 10, 2014 at 9:41 PM, Christoph Grüninger <
> christoph.grueninger at iws.uni-stuttgart.de> wrote:
> 
>> Hi Dominic,
>> all uses of SGrid can be replaced by YaspGrid as we 
>> discourage its use.
>> It would be nice to properly introduce the range-based for loops
>> as they are really cool and people should be taught to use them.
>> You already mentioned it, we should replace a lot of the iterator
>> code with it and introduce it in the traversal.cc.

-- 
Das Kommt darauf an, in welchen Zeiträumen du
rechnest. Für Geologen: ja, in naher Zukunft
[Stefan Seyfried in suse-laptop]




More information about the Dune-devel mailing list