C++ Logo

std-discussion

Advanced search

CWG 2801 and bit fields

From: Ell <ell_se_at_[hidden]>
Date: Wed, 8 Oct 2025 18:54:54 +0300
AFAICT, after the changes from CWG 2801, none of the bullets in
[dcl.init.ref]/5 allow initializing a (const/rv) reference from a
similarly-typed bit field. I'm pretty sure that wasn't intended.

Received on 2025-10-08 15:55:04