[Dune] [Dune-Commit] dune-common r5345 - trunk/common

Christian Engwer christi at uni-hd.de
Thu Nov 6 21:25:01 CET 2008


On Thu, Nov 06, 2008 at 01:56:02PM +0100, Sven Marnach wrote:
> christi at dune-project.org schrieb am Do, 06. Nov 2008, um 12:04:05 +0100:
> > -template<class C, class T, class D = std::ptrdiff_t>
> > +template<typename C, typename T, typename R = T&, typename D = std::ptrdiff_t>
> 
> This will break code explicitly giving the D template parameter.  I
> don't know if there is any such code.

Oh! That is right, I don't think that anybody will actually have this
problem, but I should at least add a proper check and produce usable
errors messages.

Christian




More information about the Dune mailing list