lion03 / thrust

Automatically exported from code.google.com/p/thrust
Apache License 2.0
0 stars 0 forks source link

Deduce counting_iterator's difference_type correctly #326

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Right now counting_iterator's difference_type is ptrdiff_t when the 
Incrementable is numeric.  It needs to be 
numeric_difference<Incrementable>::type.  This is causing problems on 32b 
systems [1].

[1] https://groups.google.com/forum/#!topic/thrust-users/twOYgGqZl-w

Original issue reported on code.google.com by jaredhoberock on 30 Mar 2011 at 5:55

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 5a543450d40f.

Original comment by jaredhoberock on 30 Mar 2011 at 9:43