Commit 59aa9e57 by Jonathan Wakely

libstdc++: ranges::iter_move should perform ADL-only lookup (LWG 3247)

	* include/bits/iterator_concepts.h (iter_move): Add declaration to
	prevent unqualified lookup finding a suitable declaration (LWG 3247).
parent 58f2e59a
2020-02-19 Jonathan Wakely <jwakely@redhat.com> 2020-02-19 Jonathan Wakely <jwakely@redhat.com>
* include/bits/iterator_concepts.h (iter_move): Add declaration to
prevent unqualified lookup finding a suitable declaration (LWG 3247).
* include/std/memory_resource (polymorphic_allocator::allocate) * include/std/memory_resource (polymorphic_allocator::allocate)
(polymorphic_allocator::allocate_object): Change type of exception to (polymorphic_allocator::allocate_object): Change type of exception to
bad_array_new_length (LWG 3237). bad_array_new_length (LWG 3237).
......
...@@ -79,6 +79,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION ...@@ -79,6 +79,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
{ {
namespace __cust_imove namespace __cust_imove
{ {
void iter_move();
template<typename _Tp> template<typename _Tp>
concept __adl_imove concept __adl_imove
= (std::__detail::__class_or_enum<remove_reference_t<_Tp>>) = (std::__detail::__class_or_enum<remove_reference_t<_Tp>>)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment