Re: Default initialization of poly-ints

2023-01-12 Thread Richard Sandiford via Gcc
Jeff Law via Gcc writes: > On 1/3/23 04:16, Florian Weimer via Gcc wrote: >> It seems that the default constructor of the non-POD poly-ints does >> nothing. Is this intentional? I expected zero initialization, to match >> regular ints. > I think it was intentional. Richard Sandiford would know

Re: Default initialization of poly-ints

2023-01-04 Thread Jeff Law via Gcc
On 1/3/23 04:16, Florian Weimer via Gcc wrote: It seems that the default constructor of the non-POD poly-ints does nothing. Is this intentional? I expected zero initialization, to match regular ints. I think it was intentional. Richard Sandiford would know for sure. But Martin Sebor might

Default initialization of poly-ints

2023-01-03 Thread Florian Weimer via Gcc
It seems that the default constructor of the non-POD poly-ints does nothing. Is this intentional? I expected zero initialization, to match regular ints. Thanks, Florian