[Dune] [Dune-Commit] dune-localfunctions r1049 - trunk/dune/localfunctions/common

Christian Engwer christian.engwer at uni-muenster.de
Fri Apr 13 18:46:59 CEST 2012


On Fri, Apr 13, 2012 at 06:27:06PM +0200, Christoph GrĂ¼ninger wrote:
> Hi Christian,
> do you imply that for-loops have to use this ugly type from now on?
> I applied Ulis patch as you wished but I am afraid of the aftermath
> of this precedent.
> I still think std::size_t is the better consideration between "safe
> enough" and "still readable".

How about a 

typedef typename container::site_type size_type;
for (size_type i=....)

?

Ciao
Christian




More information about the Dune mailing list