Skip to content
Snippets Groups Projects
Commit 0ecd0238 authored by Sam Yates's avatar Sam Yates
Browse files

Address PR#83 review

* Makes EXPECTS() fail handler a global, settable function pointer.
* Fix `util::upto` for bidirectional iterators with begin==end.
* Use `std::string` in error reporting with `either` in `partition_view`
  to correct incorrect default conversion in return value.
* Correct return types for `util::range::operator[]` and `util::range::at()`
* `transform_iterator` requires only iterator==sentinel test for correct sentinel
  behaviour.
* Extend partition tests to cover:
  * partition views over short (length) sequences,
  * non-numeric partitions,
  * throw on validation check of non-monotonic sequence,
  * make_partition with short and long size sequences, short division containers.
* Extend range tests to cover:
  * compatibility with `std::accumulate`,
  * correct constness of dereferences with respect to wrapped iterators,
  * proper type deduction for `make_range` over pointers.
* Extend span tests to cover:
  * span creation from `std::pair`,
  * proper type promotion with heterogeneous bounds.
parent e7acad69
No related branches found
No related tags found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment