Define feature-test macro for std::enable_shared_from_this
authorJonathan Wakely <jwakely@redhat.com>
Wed, 3 Aug 2016 19:10:06 +0000 (20:10 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 3 Aug 2016 19:10:06 +0000 (20:10 +0100)
commitc7fdbdcdbd9f2ea3393ff6b3714394fa3922ab09
tree79a6fee4744e298c205cdd0a07507594751c8c63
parentf21f4463adb78df847273f328ac163461d4d1617
Define feature-test macro for std::enable_shared_from_this

* include/bits/shared_ptr_base.h (__cpp_lib_enable_shared_from_this):
Define feature-test macro.
* testsuite/20_util/enable_shared_from_this/members/reinit.cc: Test
for the macro.

From-SVN: r239094
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/shared_ptr_base.h
libstdc++-v3/testsuite/20_util/enable_shared_from_this/members/reinit.cc