Commit Graph

12 Commits

Author SHA1 Message Date
Adam Wulkiewicz
8597ed9fd2 [test][util][range] Add missing include. 2016-03-16 18:27:22 +01:00
Adam Wulkiewicz
0ecda93787 [test][util][range] Fix compilation errors on some platforms. 2016-02-17 05:24:32 +01:00
Adam Wulkiewicz
446280afc7 [test][range] Add test of range::back_inserter(). 2016-01-23 14:00:55 +01:00
Samuel Debionne
e969a4c33a [test][util][range] Add tests for const pointer
Add tests for range iterator_range<const pointer> and pair<const
pointer>
2015-03-09 11:28:31 +01:00
Adam Wulkiewicz
8bd9144474 [test][util][range] Add tests for iterator_range<pointer> and pair<pointer>. 2015-03-04 14:21:50 +01:00
Adam Wulkiewicz
7603005e9f [test][util][range] Add test for pos() function. 2015-02-02 19:30:14 +01:00
Adam Wulkiewicz
004e4e465f [test][range] Shield part of a test with macro (storing NonMovable is std::vector<>) 2014-07-06 12:19:30 +02:00
Adam Wulkiewicz
ba0906369e [range] Add support for invalidating resize() and workarounds for MSVC and MinGW.
Using of the iterator returned by erase() caused assertion failures (false positive) on MSVC with iterator debugging enabled.
MSVC std::vector can't store non-movable objects if rvalue references are supported.
MinGW std::vector can't store pointers.
2014-06-22 15:17:49 +02:00
Adam Wulkiewicz
cd2e17b102 [range] Optimize erase() in C++11 - use std::move() instead of std::copy() if possible. 2014-06-21 22:08:51 +02:00
Adam Wulkiewicz
a0a296877f [range] Fix the return type of range::erase() and add tests. 2014-06-21 18:18:25 +02:00
Adam Wulkiewicz
43d0ef60f3 [range] Add erase() taking non-mutable iterators (in-line with C++11 std::vector) + tests. 2014-06-19 02:40:39 +02:00
Adam Wulkiewicz
493f51f1fd [range] Add tests for free functions. 2014-06-19 01:48:57 +02:00