mirror of
https://github.com/boostorg/utility.git
synced 2025-07-29 20:37:32 +02:00
fixed bug in policy object construction
[SVN r9100]
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user