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

Christian Engwer christi at uni-hd.de
Fri Nov 7 10:08:08 CET 2008


On Thu, Nov 06, 2008 at 09:25:01PM +0100, Christian Engwer wrote:
> 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.

There are other issues now, but the the D parameter wasn't use
properly before, so any code with a third template parameter would
have had a problem anyway.

Christian




More information about the Dune mailing list