Coding Style - C++ constructor initialization list

Marcos Cardinot mcardinot at gmail.com
Wed Mar 25 17:25:52 PDT 2015


2015-03-25 21:20 GMT-03:00 Thiago Macieira <thiago at macieira.org>:

> On Monday 23 March 2015 05:51:26 Dirk Hohndel wrote:
> > > *ClassName::ClassName() :*
> > > *x(1),*
> > > *y(2),*
> > > *z(3)*
> > > *{*
> > > *}*
> >
> > This isn't readable for me. Possibly a mail formating issue.
>
> I thought it was just me...
>
> The original in HTML is:
>
> ClassName::ClassName() :
>         x(1),
>         y(2),
>         z(3)
> {
> }
>
> Marcos: we don't read the HTML part in the mailing list, so any colouring
> and
> font formatting will be lost.
>

Thanks for this tip =D

I think you already know it - but just to "close" the thread:
the coding style was updated - now the rule is:

ClassName::ClassName() : x(1),
        y(2),
        z(3)
{
}

--
> Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
>    Software Architect - Intel Open Source Technology Center
>       PGP/GPG: 0x6EF45358; fingerprint:
>       E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
>
> _______________________________________________
> subsurface mailing list
> subsurface at subsurface-divelog.org
> http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150325/6aa0f07f/attachment.html>


More information about the subsurface mailing list