← Back to team overview

dolfin team mailing list archive

Re: const in la classes

 

On Thu, Mar 15, 2007 at 10:04:49PM +0100, Garth N. Wells wrote:
> 
> 
> Anders Logg wrote:
> > I might have asked this before, but why all the consts on built-in
> > types in argument lists in the la classes?
> > 
> >     init(const uint M, const uint N);
> > 
> > Why not just
> > 
> >     init(const uint M, const uint N);
> >
> 
> What's the difference between these two?
> 
> Garth

Sorry, ... :-) I meant

Why not just

    init(uint M, uint N);

/Anders


Follow ups

References