Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Fix building against libc++ on Windows #1777

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion thrust/type_traits/is_contiguous_iterator.h
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ struct is_libstdcxx_normal_iterator<
#if _MSC_VER >= 1916 // MSVC 2017 version 15.9.
template <typename Iterator>
struct is_msvc_contiguous_iterator
: is_pointer<::std::_Unwrapped_t<Iterator> > {};
: is_pointer<::std::remove_reference_t<::std::remove_cv_t<Iterator>>> {};
#elif _MSC_VER >= 1700 // MSVC 2012.
template <typename Iterator>
struct is_msvc_contiguous_iterator : false_type {};
Expand Down