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]

[PATCH] Implement P0393R3


I used a bit of macro to save typing (and execerise DRY!), and
cleverness on comparing valueless_by_exception variant against valid
ones (since variant_npos + 1 == 0).

Tested 20_util/variant/* on x86_64-linux-gnu in debug mode.


-- 
Regards,
Tim Shen

Attachment: a.diff
Description: Text document


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