C++ Logo


Advanced search

Subject: Re: bitfields member type access
From: Mohamed Khaled (mkmostafa92_at_[hidden])
Date: 2019-04-29 04:00:11

>>> This integer promotion doesn't happen everywhere, namely only but when
arithmetic. That's why you get a uint32_t during overload resolution and

That was mainly what I wanted to know. Is there a reason for not having a
unified behaviour like always use the type declared in the struct.

STD-DISCUSSION list run by std-discussion-owner@lists.isocpp.org

Older Archives on Google Groups