Skip to content

Conversation

kundor
Copy link
Contributor

@kundor kundor commented Apr 29, 2016

As a result of commit 4dac507 (Remove code to use standard library versions of algorithms), most of the files in cxx11 were including <algorithm> unnecessarily.

I suggest removing those includes where they are not used, and also removing comments which misleadingly said "We will use the standard one if it is available, otherwise we have our own implementation."

Also, the file copy_if.hpp wasn't including <utility> where pair and make_pair can be found, and partition_point was missing an #include <iterator>.

A second commit removes similar unused includes in cxx14/is_permutation.hpp and cxx14/mismatch.hpp, and adds a missing #include <iterator> to cxx14/equal.hpp.

A third commit removes incorrect statements from the docs.

@mclow mclow merged commit 3aef0ab into boostorg:develop Apr 29, 2016
@kundor kundor mentioned this pull request May 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants