On 03/04/19 17:25 +0100, Jonathan Wakely wrote:
Avoid creating arbitrarily large objects on the stack when creating
temporaries in order to provide the strong exception-safety guarantee.
Also implement Antony Polukhin's suggestion to whitelist specific types
that can be efficiently move-assigned
On 03/04/19 23:27 +0100, Jonathan Wakely wrote:
On 03/04/19 23:32 +0300, Antony Polukhin wrote:
Looks good. Covers most of the use cases.
Please consider adding filesystem::path, pair, tuple, string_view?,
string_view is trivially_copyable, and < 256 bytes, so works
automatically.
error_cod
On Wed, Apr 3, 2019, 23:39 Ville Voutilainen
wrote:
> On Wed, 3 Apr 2019 at 23:32, Antony Polukhin wrote:
> >
> > Looks good. Covers most of the use cases.
> >
> > Please consider adding filesystem::path, pair, tuple, string_view?,
> error_code, list, deque (myabe all the other containers), opti
On 03/04/19 23:39 +0300, Ville Voutilainen wrote:
On Wed, 3 Apr 2019 at 23:32, Antony Polukhin wrote:
Looks good. Covers most of the use cases.
Please consider adding filesystem::path, pair, tuple, string_view?, error_code,
list, deque (myabe all the other containers), optional, variant itse
On 03/04/19 23:32 +0300, Antony Polukhin wrote:
Looks good. Covers most of the use cases.
Please consider adding filesystem::path, pair, tuple, string_view?,
string_view is trivially_copyable, and < 256 bytes, so works
automatically.
error_code, list, deque (myabe all the other containers),
On Wed, 3 Apr 2019 at 23:32, Antony Polukhin wrote:
>
> Looks good. Covers most of the use cases.
>
> Please consider adding filesystem::path, pair, tuple, string_view?,
> error_code, list, deque (myabe all the other containers), optional, variant
> itself (for cases when variant holds another v
Looks good. Covers most of the use cases.
Please consider adding filesystem::path, pair, tuple, string_view?,
error_code, list, deque (myabe all the other containers), optional, variant
itself (for cases when variant holds another variant).
It would be very useful for the _Never_valueless_alt to
Avoid creating arbitrarily large objects on the stack when creating
temporaries in order to provide the strong exception-safety guarantee.
Also implement Antony Polukhin's suggestion to whitelist specific types
that can be efficiently move-assigned, so that emplacing those types
never causes a va