]> git.ipfire.org Git - thirdparty/gcc.git/commit - libstdc++-v3/include/bits/memoryfwd.h
Do not declare std::uses_allocator before C++11
authorJonathan Wakely <jwakely@redhat.com>
Tue, 22 Oct 2019 21:48:53 +0000 (22:48 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 22 Oct 2019 21:48:53 +0000 (22:48 +0100)
commit9e1f9bc54496c65a11987dc7c238c84878d10062
treecd5df82396538ac753784cc71c7459ea941b2e4b
parent2cae56bd61a048b0fac5c2829283744abc44c545
Do not declare std::uses_allocator before C++11

* include/bits/memoryfwd.h (uses_allocator): Do not declare for C++98.
* testsuite/17_intro/names.cc: Check uses_allocator in C++98.

From-SVN: r277301
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/memoryfwd.h
libstdc++-v3/testsuite/17_intro/names.cc