r279001 - in /trunk/libstdc++-v3: ChangeLog tes...

redi@gcc.gnu.org redi@gcc.gnu.org
Thu Dec 5 13:50:00 GMT 2019


Author: redi
Date: Thu Dec  5 13:50:08 2019
New Revision: 279001

URL: https://gcc.gnu.org/viewcvs?rev=279001&root=gcc&view=rev
Log:
libstdc++: Fix bug in std::span test

The previous commit fixed the std::span constructors from const arrays,
revealing a bug in this test.

	* testsuite/23_containers/span/lwg3255.cc: Fix test. Constructing a
	span of non-const elements should not be possible from a const array
	or an array of const elements.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/testsuite/23_containers/span/lwg3255.cc



More information about the Libstdc++-cvs mailing list