Add C++11 __iterator_category_t template alias.
authorFrançois Dumont <fdumont@gcc.gnu.org>
Sun, 6 Oct 2019 15:10:40 +0000 (15:10 +0000)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Sun, 6 Oct 2019 15:10:40 +0000 (15:10 +0000)
commit6e556303102ebadb15bf8b7b16f6693d8ffde371
tree2411ba180e2539b93d66c25b78b157f6a882921c
parent2c6374228bc0aef10b89e5dd9131dbf99477f753
Add C++11 __iterator_category_t template alias.

* include/bits/stl_iterator_base_types.h (__iterator_category_t): Define
for C++11.
(_RequireInputIte): Likewise and use __enable_if_t.
* include/std/numeric
(__is_random_access_iter): Use __iterator_category_t.

From-SVN: r276637
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_iterator_base_types.h
libstdc++-v3/include/std/numeric