mirror of
https://github.com/boostorg/algorithm.git
synced 2025-07-29 12:07:18 +02:00
Fix error in compile-fail test; now fails to compile for the right reason
[SVN r84824]
This commit is contained in:
@ -27,7 +27,7 @@ void test_sequence1 () {
|
||||
typedef input_iterator<std::vector<int>::iterator> II;
|
||||
|
||||
// This should fail to compile, since gather doesn't work with input iterators
|
||||
(void) ba::gather ( II( v.begin ()), II( v.end ()), II( v.begin ()), is_even );
|
||||
(void) ba::gather ( II( v.begin ()), II( v.end ()), II( v.begin ()), is_ten );
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user