Skip to content

Commit

Permalink
馃洜 Ignore current ztd connection points for reconstruct
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePhD committed Aug 23, 2021
1 parent cec3cb0 commit 74acc3b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions include/ztd/ranges/reconstruct.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,6 @@ namespace ztd { namespace hijack {
_It> && ((::std::is_const_v<::std::remove_reference_t<::ztd::ranges::iterator_reference_t<_It>>>) ? std::is_const_v<_Ty> : true)>* = nullptr>
constexpr ::ztd::span<_Ty> tag_invoke(ztd::tag_t<::ztd::ranges::reconstruct>,
::std::in_place_type_t<::ztd::span<_Ty, _Extent>>, _It __iterator, _Sen __sentinel) noexcept {
#if ZTD_IS_ON(ZTD_STD_LIBRARY_SPAN_I_)
return ::ztd::span<_Ty>(__iterator, __sentinel);
#else
if constexpr (!::std::is_integral_v<_Sen>) {
auto __iterator_address = ::ztd::idk_adl::adl_to_address(__iterator);
auto __sentinel_address = ::ztd::idk_adl::adl_to_address(__sentinel);
Expand All @@ -202,7 +199,6 @@ namespace ztd { namespace hijack {
auto __iterator_address = ::ztd::idk_adl::adl_to_address(__iterator);
return ::ztd::span<_Ty>(__iterator_address, __sentinel);
}
#endif
}

template <typename _Ty, typename _Traits, typename _It, typename _Sen,
Expand Down

0 comments on commit 74acc3b

Please sign in to comment.