Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Bad g++ constructors on aarch64
On Sat, Jul 27, 2019 at 01:22:06PM +0100, Robert Swindells wrote:
> Klass::Klass() : _foo(foo), _bar(bar)
> {}
>
> Where _foo & _bar are member variables, foo & bar are globals.
This is an initializer list.
> Member variables that are immediate types get initialized correctly,
> ones that are pointers to other class instances don't.
Not sure what an "immediate type" is, can you give example code that does
not work?
Martin
Home |
Main Index |
Thread Index |
Old Index