[BUG]: Iterator traits do not work with thrust iterators on windows
- Dominant language
- C++
- Stars
- 2.5k
- Forks
- 486
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 295
Description
### Is this a duplicate?
- [X] I confirmed there appear to be no [duplicate issues](https://github.com/NVIDIA/cccl/issues) for this bug and that I agree to the [Code of Conduct](CODE_OF_CONDUCT.md)
### Type of Bug
Compile-time Error
### Component
libcu++
### Describe the bug
When using `cuda::std::iterator_traits` with thrust iterators, I can see compilation issues on windows (Visual Studio 17 2022) but not on linux:
```
error : class "cuda::std::__4::iterator_traits>>" has no member "value_type"
[build] cuda::std::iterator_traits::iterator>::value_type val = 0;
```
### How to Reproduce
```cpp
#include
#include
int main() {
cuda::std::iterator_traits::iterator>::value_type val = 0;
return val;
}
```
### Expected behavior
Value type is defined.
### Reproduction link
_No response_
### Operating System
_No response_
### nvidia-smi output
_No response_
### NVCC version
12.3.52
Contributor guide
Assessment
This issue has not been assessed yet.