← Back to team overview

ffc team mailing list archive

Re: const static double or static const double

 

On Mon, Jul 06, 2009 at 12:44:57PM +0200, Kristian Oelgaard wrote:
> 
> 
> Hi,
> 
> Just a minor issue. For some arrays in the generated code we use:
> 
> const static
> 
> others uses
> 
> static const
> 
> Is there a right or wrong way, if not, which one should we use (if we want
> to be consistent in the code)?
> 
> It's just a small change in the format, but we will probably have to change the
> references for the regression tests.

I think it should be static const:

http://www.velocityreviews.com/forums/t291248-const-static-vs-static-const.html

-- 
Anders

Attachment: signature.asc
Description: Digital signature


Follow ups

References