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

redi@gcc.gnu.org redi@gcc.gnu.org
Wed Jun 12 14:52:00 GMT 2019


Author: redi
Date: Wed Jun 12 14:52:09 2019
New Revision: 272188

URL: https://gcc.gnu.org/viewcvs?rev=272188&root=gcc&view=rev
Log:
Improve static_assert messages for std::variant

Also fix a warning with -Wunused-parameter -Wsystem-headers.

	* include/std/variant (get<T>, get<N>, get_if<N>, get_if<T>)
	(variant::emplace): Change static_assert messages from "should be"
	to "must be".
	(hash<monostate>::operator()): Remove name of unused parameter.

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



More information about the Libstdc++-cvs mailing list