Commit Graph

35 Commits

Author SHA1 Message Date
17c9d79c77 iterator: rewrite detail::zip to avoid dangling references 2018-11-01 17:04:50 +11:00
edc245e2d1 iterator: add dereference_adapter for iterators 2018-10-15 17:15:27 +11:00
bf535de083 iterator: style, east-const 2018-10-15 12:52:39 +11:00
0e5a084a9b iterator: add counting_output_iterator 2018-10-05 14:57:44 +10:00
06d7d2840d iterator: remove index_type trait
This was used primarily for iteration over map-like objects but it never
turned out to be terrifically robust, and encouraged users to either
conflate index types or to ham-fist the conversions.

It's better to be slightly less ergonomic and reliable than to be more
ergonomic and introduce the possibility for errors.
2018-10-01 15:35:30 +10:00
f6056153e3 rename root namespace from util to cruft
This places, at long last, the core library code into the same namespace
as the extended library code.
2018-08-05 14:42:02 +10:00
803acc9a87 relicense under MPL-2.0 2018-08-04 15:14:06 +10:00
88cde59c77 iterator: style 2018-08-03 16:50:19 +10:00
f1e5e560bc iterator: assert that zip arguments are the same size 2018-07-18 15:19:53 +10:00
db24df329f iterator,string: add size queries 2018-07-18 15:19:35 +10:00
a7ce62cd66 iterator: remove unnecessary make_indices
We have template deduction guides now. This is unneeded.
2018-07-04 14:08:31 +10:00
d466ed75ac iterator: avoid invalid scoping issues with izip 2018-07-04 14:01:46 +10:00
3d59645637 iterator: add deduction guide for 'indices' 2018-07-04 14:01:00 +10:00
eef3327415 iterator: use index_type for the indices pseudo-container 2018-06-27 17:57:47 +10:00
4094a96160 iterator: add index_type trait 2018-06-27 17:57:22 +10:00
073b41da42 iterator: add make_infix overload for arrays 2018-05-14 14:36:15 +10:00
1b023f7c8d iterator: improve reference semantics 2018-03-27 15:49:47 +11:00
490aab08bc iterator: retain rvalue sources when constructing zip/izip 2018-03-23 16:41:11 +11:00
12d401b98b tuple/variadic: split into type/value/pack operations 2018-03-15 23:48:21 +11:00
f9a202877a iterator: add make_infix example 2018-01-26 14:05:21 +11:00
681768093e hash: use a consistency, less flexible, interface 2018-01-13 15:24:12 +11:00
02d3b4dd64 iterator: add unequal_iterator
unequal_iterator is a forward iterator that never successfully compares
for equality with other types. useful as the end iterator when one has
an output iterator as the begin iterator of a view.
2017-12-22 12:34:56 +11:00
ba2eb48d63 iterator: add numeric_iterator for ostream output 2017-10-10 16:49:56 +11:00
9c5b471b24 iterator: modify to allow iteration over c arrays 2017-09-15 15:21:25 +10:00
1567ad790c iterator: add the make_infix helper function 2017-09-01 13:36:27 +10:00
77d5bf0cb7 iterator: add simple explanation of infix_iterator 2017-09-01 13:36:13 +10:00
523c7c7e38 iterator: add the OutputIterator "discard_iterator" 2017-08-01 13:31:47 +10:00
b15914cf9a iterator: add make_indices, zip, and izip 2017-06-13 17:01:06 +10:00
cd15371fcf iterator: add infix_iterator 2016-03-11 12:44:00 +11:00
7ae57730f0 whitespace 2015-04-13 18:06:08 +10:00
2658b41ea1 relicence under Apache-2.0 2015-04-13 18:05:28 +10:00
b58fdaea9d iterator: avoid ignored const on reference 2015-01-10 20:07:39 +11:00
f9cc4926f2 Categorise functionality from types.hpp 2012-05-25 15:19:07 +10:00
77942e008d Change my email to an active domain 2012-04-23 13:10:50 +10:00
8153d048c2 Add referencing_iterator to build
A simple iterator which converts a random access iterator to a
dereferencable type into a random access iterator to a reference of said
type.
2012-04-13 11:30:50 +10:00