C++ Logo


Advanced search

Subject: Re: [std-proposals] The new new thing
From: Matt Hurd (matthurd_at_[hidden])
Date: 2020-02-20 19:10:20

> For integers, we really can do something similar in one line with:
> enum class qty_t : int64_t {};
That's a good positive example. Sadly not so sanguine for *double* or

> While we are technically out of luck for other types, a wrapping aggregate
> struct isn’t that horrible (though potentially with an attribute that hints
> it wants the abi of the wrapped field).
I'm not so skilled. I find it a wee bit horrible especially w.r.t.

Still, cloning, and possibly cloning with extensions, seems a useful thing.
Perhaps too useful though ;-)


STD-PROPOSALS list run by herb.sutter at gmail.com

Standard Proposals Archives on Google Groups