mirror of
https://github.com/boostorg/utility.git
synced 2025-05-09 02:44:10 +00:00
fixed bug in policy object construction
[SVN r9100]
This commit is contained in:
parent
d8dd3da9ab
commit
94b6710c5b
@ -85,7 +85,7 @@ int main() {
|
||||
|
||||
typedef boost::filter_iterator_generator<is_positive_number, int*, int> Gen;
|
||||
is_positive_number predicate;
|
||||
Gen::policies_type policies(numbers + N, predicate);
|
||||
Gen::policies_type policies(predicate, numbers + N);
|
||||
Gen::type filter_iter_first(numbers, policies);
|
||||
Gen::type filter_iter_last(numbers + N, policies);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user