lion03 / thrust

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

Document retag and reinterpret_tag #456

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
also expose them in thrust/memory.h

Original issue reported on code.google.com by jaredhoberock on 6 Feb 2012 at 11:57

GoogleCodeExporter commented 8 years ago
not sure these should go inside thrust/memory.h as they are functions on 
iterators

documentation should also emphasize that the return type is unspecified

Original comment by jaredhoberock on 7 Feb 2012 at 12:00

GoogleCodeExporter commented 8 years ago
should probably go in thrust/iterator.h analogous to <iterator>. 
thrust/iterator.h would bring in all of thrust/iterator/*

Not willing to add that header right now.  Let's punt on documenting this 
function right now; the examples are good enough to demonstrate their use.

Original comment by jaredhoberock on 7 Feb 2012 at 12:02

GoogleCodeExporter commented 8 years ago
detail/retag.h is #included at the bottom of iterator_traits.h, but this is 
causing lots of circular dependency problems (because detail/retag.h depends on 
iterator_adaptor, which depends on iterator_traits, ugh)

Move it out of iterator_traits as it's not really an iterator trait.

Introduce thrust/iterator/retag.h

Document retag & reinterpret_tag.  We need to do this for 1.6

Original comment by jaredhoberock on 8 Feb 2012 at 11:28

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 303a27e001e7.

Original comment by jaredhoberock on 9 Feb 2012 at 1:43