bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#32808: 25.2; Indentation after initializer list C++


From: Alan Mackenzie
Subject: bug#32808: 25.2; Indentation after initializer list C++
Date: Fri, 7 Dec 2018 17:45:10 +0000
User-agent: Mutt/1.10.1 (2018-07-13)

Bug fixed in master.

On Sat, Sep 22, 2018 at 15:00:02 -0500, Richard Case wrote:
> Hello Alan,

> It is the position of the closing brace on the third line.

> Thank you.

> On Sat, Sep 22, 2018, 2:51 PM Alan Mackenzie <address@hidden> wrote:

> > Hello, Richard.

> > In article <address@hidden> you wrote:

> > > While creating a constructor for my class, I have a multiline
> > > initializer list. For the constructor, the indentation matches that of
> > > the list. Here's an example:

> > > Test::Test(const std::string &a) : a{a}, b{0},
> > >                                    c{"..."}, d{""} {
> > >                 /*notice the indentation*/
> >           }

> > Would you please be explicit about what is wrong with the indentation.
> > Is it the position of the closing brace on line 3, or the indentation of
> > "c{" on line 2, or something else?

> > Thanks!

> > [ .... ]

> > --
> > Alan Mackenzie (Nuremberg, Germany).






reply via email to

[Prev in Thread] Current Thread [Next in Thread]