Implement C++ LFTSv1 polymorphic memory resources
authorFan You <youfan.noey@gmail.com>
Fri, 13 Nov 2015 10:00:59 +0000 (10:00 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 13 Nov 2015 10:00:59 +0000 (10:00 +0000)
commitbfeffbd1ae0d682c660d13cdc526ae83235cdd14
tree35698a64de43fb63ce527ee6b18af0ce1c415fcb
parent6faa91548255490c2dc61a25596c33e6d5fc537e
Implement C++ LFTSv1 polymorphic memory resources

2015-11-13  Fan You  <youfan.noey@gmail.com>

* include/Makefile.am: Add new headers.
* include/Makefile.in: Regenerate.
* include/bits/uses_allocator.h (__erased_type): Define.
(__uses_allocator_helper): Check for __erased_type.
* include/experimental/memory_resource: New.
* include/experimental/utlity: New.
* testsuite/experimental/type_erased_allocator/1.cc: New.
* testsuite/experimental/type_erased_allocator/1_neg.cc: New.
* testsuite/experimental/type_erased_allocator/2.cc: New.
* testsuite/experimental/type_erased_allocator/uses_allocator.cc: New.

From-SVN: r230294
libstdc++-v3/ChangeLog
libstdc++-v3/include/Makefile.am
libstdc++-v3/include/Makefile.in
libstdc++-v3/include/bits/uses_allocator.h
libstdc++-v3/include/experimental/memory_resource [new file with mode: 0644]
libstdc++-v3/include/experimental/utility [new file with mode: 0644]
libstdc++-v3/testsuite/experimental/type_erased_allocator/1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/experimental/type_erased_allocator/1_neg.cc [new file with mode: 0644]
libstdc++-v3/testsuite/experimental/type_erased_allocator/2.cc [new file with mode: 0644]
libstdc++-v3/testsuite/experimental/type_erased_allocator/uses_allocator.cc [new file with mode: 0644]