Minor improvements to testsuite iterator utilities
authorJonathan Wakely <jwakely@redhat.com>
Tue, 29 Oct 2019 17:15:04 +0000 (17:15 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 29 Oct 2019 17:15:04 +0000 (17:15 +0000)
commit9921ac3db381106b66b70d8bf99136b265ec07c3
treee2fb7ca1695880dffcc526615078c6b4e2c71dbd
parent0ed4d40833715b0650e9ed4d561ca9ea0dacf2b1
Minor improvements to testsuite iterator utilities

* testsuite/util/testsuite_iterators.h (BoundsContainer::size()): Add
new member function.
(WritableObject::operator=): Constrain with enable_if when available.
(remove_cv): Use std::remove_if when available.
(test_container::it(int)): Use size().
(test_container::size()): Use BoundsContainer::size().

From-SVN: r277578
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/util/testsuite_iterators.h