summaryrefslogtreecommitdiffstats
path: root/libcxx/include/queue
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2019-11-18 01:46:58 -0500
committerEric Fiselier <eric@efcs.ca>2019-11-18 01:49:32 -0500
commitf82dba019253ced73ceadfde10e5f150bdb182f3 (patch)
tree5f1d9d225c5fc60ca6fd1f933bf61e5a03ea77af /libcxx/include/queue
parent783cb86b616d9de59213ea17649d6e2df8c1ebbb (diff)
downloadbcm5719-llvm-f82dba019253ced73ceadfde10e5f150bdb182f3.tar.gz
bcm5719-llvm-f82dba019253ced73ceadfde10e5f150bdb182f3.zip
Rename __is_foo_iterator traits to reflect their Cpp17 nature.
With the upcoming introduction of iterator concepts in ranges, the meaning of "__is_contiguous_iterator" changes drastically. Currently we intend it to mean "does it have this iterator category", but it could now also mean "does it meet the requirements of this concept", and these can be different.
Diffstat (limited to 'libcxx/include/queue')
-rw-r--r--libcxx/include/queue2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/queue b/libcxx/include/queue
index 97ec6f633c5..33c25e0dfc1 100644
--- a/libcxx/include/queue
+++ b/libcxx/include/queue
@@ -562,7 +562,7 @@ priority_queue(_Compare, _Container)
template<class _InputIterator,
class _Compare = less<typename iterator_traits<_InputIterator>::value_type>,
class _Container = vector<typename iterator_traits<_InputIterator>::value_type>,
- class = typename enable_if< __is_input_iterator<_InputIterator>::value, nullptr_t>::type,
+ class = typename enable_if< __is_cpp17_input_iterator<_InputIterator>::value, nullptr_t>::type,
class = typename enable_if<!__is_allocator<_Compare>::value, nullptr_t>::type,
class = typename enable_if<!__is_allocator<_Container>::value, nullptr_t>::type
>
OpenPOWER on IntegriCloud