Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2020-10-06 18:06:21


Antony Polukhin wrote:

> I think we took the wrong turn in C++17, when allowed inheritance for
> aggregates.

Nothing wrong with that IMO. Structured bindings just deliberately break
this case for no reason at all.

"Otherwise, all of E’s non-static data members shall be direct members of E
or of the same base class of E"


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk