lion03 / thrust

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

header consolidation #220

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I'd like to add the functions is_partitioned & partition_point but the question 
is where to put them?  partition.h makes the most sense to me, but is_sorted 
currently has its own header.

These two new functions don't deserve their own headers, so it makes sense to 
move is_sorted to sort.h and deprecate is_sorted.h.

Original issue reported on code.google.com by jaredhoberock on 17 Sep 2010 at 9:53

GoogleCodeExporter commented 8 years ago
We don't currently have is_sorted_until.h and that should go into sort.h as 
well.

Original comment by jaredhoberock on 17 Sep 2010 at 9:53

GoogleCodeExporter commented 8 years ago
The set operations don't require their own headers (when we eventually have 
them).  We should move set_intersection to set.h.

Original comment by jaredhoberock on 17 Sep 2010 at 9:56

GoogleCodeExporter commented 8 years ago
utility.h currently is home to swap, but the other standard items that go into 
<utility> that we currently provide are pair & tuple, which have their own 
headers.

Should we deprecate utility.h and put swap in swap.h -- along with swap_ranges. 
 This implies swap_ranges.h should be deprecated.

Original comment by jaredhoberock on 17 Sep 2010 at 10:02

GoogleCodeExporter commented 8 years ago
We can't do set.h because <set> is a standard header.  Maybe set_operations.h 
instead?

Original comment by jaredhoberock on 17 Sep 2010 at 10:03

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 0d077cea45.

Original comment by jaredhoberock on 27 Sep 2010 at 5:14