Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2022-01-03 10:51:50


Ivan Matek wrote:
> On Mon, Jan 3, 2022 at 5:09 AM Peter Dimov via Boost
> <boost_at_[hidden] <mailto:boost_at_[hidden]> > wrote:
>
>
> https://godbolt.org/z/afcMqMqrK
>
> Very nice, I had similar idea in message with this link:
> https://godbolt.org/z/Kzs6xbo5T
>
> but just to double check:
> no way to make initialization work with less {} because that is a language
> limitation, right? I mean we could add std::initializer_list constructor but then
> array is no longer aggregate?

Unfortunately not. Or at least I can't think of a way.


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