consider
int *raw_ptr;
auto ptr = reinterpret_tag<Tag>(raw_ptr);
The result of *ptr is int & when it should be reference<int,Tag>
The result of &*ptr is int * when it should be pointer<int,Tag>
After this is fixed, clean up the implementation of cuda::detail::fill_n so
that it doesn't have to use thrust::pointer directly.
Original issue reported on code.google.com by jaredhoberock on 8 Feb 2012 at 11:10
Original issue reported on code.google.com by
jaredhoberock
on 8 Feb 2012 at 11:10