This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PR libstdc++/87431 re-adjust never-valueless optimizations


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_code, list, deque (myabe all the other containers), optional, variant
itself (for cases when variant holds another variant).

I hadn't thought about error_code and recursive variants, I'll check
those can be made to work.

error_code is trivially copyasble and small, so handled automatically.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]