r276100 - in /trunk/libstdc++-v3: ChangeLog inc...

redi@gcc.gnu.org redi@gcc.gnu.org
Tue Sep 24 14:17:00 GMT 2019


Author: redi
Date: Tue Sep 24 14:17:08 2019
New Revision: 276100

URL: https://gcc.gnu.org/viewcvs?rev=276100&root=gcc&view=rev
Log:
Remove check for impossible condition in std::variant::index()

The __index_type is only ever unsigned char or unsigned short, so not
the same type as size_t.

	* include/std/variant (variant::index()): Remove impossible case.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/std/variant



More information about the Libstdc++-cvs mailing list