libstdc++: Remove workaround for PR c++/78173

Now that the G++ bug is fixed we no longer need to protect this partial
specialization from complaining about subtracting void pointers.

libstdc++-v3/ChangeLog:

	* include/bits/iterator_concepts.h (incrementable_traits<Tp>):
	Remove workaround for PR c++/78173.
This commit is contained in:
Jonathan Wakely 2020-12-15 11:40:07 +00:00
parent a929b39aa3
commit fa452a843d

View File

@ -163,10 +163,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
template<typename _Tp>
requires (!requires { typename _Tp::difference_type; }
&& requires(const _Tp& __a, const _Tp& __b)
{
requires (!is_void_v<remove_pointer_t<_Tp>>); // PR c++/78173
{ __a - __b } -> integral;
})
{ { __a - __b } -> integral; })
struct incrementable_traits<_Tp>
{
using difference_type