ptr_traits.h (__ptrtr_elt_type, [...]): Remove
authorJonathan Wakely <jwakely@redhat.com>
Wed, 1 Jul 2015 12:24:03 +0000 (13:24 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 1 Jul 2015 12:24:03 +0000 (13:24 +0100)
commit4f44c5556fc384b57ea0c8c6908701bb5f1c4ed4
tree07cefa48a57eeb87367bb3ec232b90be86ab2afe
parent6af6bef4ac3175302efe92de9bdd423fbe4b40d8
ptr_traits.h (__ptrtr_elt_type, [...]): Remove

* include/bits/ptr_traits.h (__ptrtr_elt_type, __ptrtr_diff_type,
__ptrtr_rebind, __ptrtr_not_void): Remove
(__get_first_arg, __replace_first_arg, __make_not_void): Define new
transformations.
(__detected_or_): New detection trait.
(pointer_traits): Use new traits.
* testsuite/20_util/pointer_traits/pointer_to.cc: Add rebind member.
* testsuite/20_util/pointer_traits/requirements/
explicit_instantiation.cc: Use valid arguments to pointer_traits.

From-SVN: r225243
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/ptr_traits.h
libstdc++-v3/testsuite/20_util/pointer_traits/pointer_to.cc
libstdc++-v3/testsuite/20_util/pointer_traits/requirements/explicit_instantiation.cc