|
Boost : |
Subject: Re: [boost] [algorithm] any_of does not call std::find - pull request
From: Albert Yiamakis (vkicefire_at_[hidden])
Date: 2014-04-15 16:57:44
Hello,
I have gone ahead and made a pull request implementing the change:
https://github.com/boostorg/algorithm/pull/3
- All tests pass
- The pull request is to master since it seems to be ahead of develop
- The style is I suppose inconsistent with the library's (no spaces
between parentheses and arguments)
I noticed that any_of checks if C++11 is available and if so uses
std::any_of.
i) There is no such check for any_of_equal but it could also use
std::any_of (the predicate being std::equal_to)
ii) Shouldn't it check if the function is defined rather than C++ version?
Albert
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk