Define std::as_const
authorJonathan Wakely <jwakely@redhat.com>
Wed, 3 Aug 2016 18:11:23 +0000 (19:11 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 3 Aug 2016 18:11:23 +0000 (19:11 +0100)
commit32eaac9c919b4b907d685370ef23aacc1e94f18b
tree2a77950754ff108a1d17f273ff4326cf08132d16
parentb7dabce5f3a4f3b3468181a1cba0ef690f8855bd
Define std::as_const

* include/std/utility (as_const): Define.
* testsuite/20_util/as_const/1.cc: New test.
* testsuite/20_util/as_const/rvalue_neg.cc: New test.

From-SVN: r239090
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/utility
libstdc++-v3/testsuite/20_util/as_const/1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/as_const/rvalue_neg.cc [new file with mode: 0644]