This commit is contained in:
Andreas Fabri 2025-04-08 09:38:46 +01:00
parent 88622da91b
commit a796551a2f
1 changed files with 2 additions and 2 deletions

View File

@ -137,12 +137,12 @@ public:
Self tmp = *this;
return tmp += -n;
}
template <typename It>
#if defined(BOOST_MSVC) && (BOOST_MSVC <= 1920)
difference_type
#else
std::enable_if_t<std::is_convertible_v<iterator_category, std::random_access_iterator_tag>
&& std::is_convertible_v<const It&, const Self&>,
difference_type>