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

Markus Blatt markus at dr-blatt.de
Fri Apr 13 17:41:11 CEST 2012


Hi,

On Fri, Apr 13, 2012 at 04:56:45PM +0200, Christoph Grüninger wrote:
> I know, but I read that the C++ standard demands
> container::size_type to be std::size_t. To me
> "typename std::vector<CoefficientType>::size_type"
> seems unnecessary cryptic.

Wow searching for the standard on my harddisk took quite some
time (Should have changed the name from ISO_IEC_14882\;2011.pdf to
something more meaningful.

In my copy it reads §23.2.1:
"size_type can represent any non-negative value of difference_type"
an difference_type is a signed integer type.

(I just couldn't help myself looking this up (I really seem to be a
smart ass ;).

> How long do I have to wait until I can use auto..? *sigh*

LOL. At least 5 years.

Markus
> 
> Have a nice weekend,
> Christoph
> 

-- 
Do you need more support with DUNE or HPC in general? 

Dr. Markus Blatt - HPC-Simulation-Software & Services http://www.dr-blatt.de
Hans-Bunte-Str. 8-10, 69123 Heidelberg, Germany
Tel.: +49 (0) 160 97590858  Fax: +49 (0)322 1108991658 




More information about the Dune mailing list