From f82dba019253ced73ceadfde10e5f150bdb182f3 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Mon, 18 Nov 2019 01:46:58 -0500 Subject: 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. --- libcxx/include/queue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcxx/include/queue') 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::value_type>, class _Container = vector::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::value, nullptr_t>::type, class = typename enable_if::value, nullptr_t>::type > -- cgit v1.2.3