Implement P0318R1 unwrap_ref_decay and unwrap_reference
authorJonathan Wakely <jwakely@redhat.com>
Sun, 11 Nov 2018 05:17:03 +0000 (05:17 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Sun, 11 Nov 2018 05:17:03 +0000 (05:17 +0000)
commit3d18dc9db0513eae3dba69fb143e35cbe8c34f20
tree96c97abb9d4643a91f2ccfcbecca87eef472f85e
parent37b736f6bd78d9238b8557ade7d6bbdabec51d97
Implement P0318R1 unwrap_ref_decay and unwrap_reference

Implement P0318R1 unwrap_ref_decay and unwrap_reference
* include/std/type_traits (unwrap_reference, unwrap_reference_t)
(unwrap_ref_decay, unwrap_ref_decay_t): New traits and aliases.
* testsuite/20_util/unwrap_reference/1.cc: New test.
* testsuite/20_util/unwrap_reference/2.cc: New test.

From-SVN: r266010
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/type_traits
libstdc++-v3/testsuite/20_util/unwrap_reference/1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/unwrap_reference/2.cc [new file with mode: 0644]