Subject: [boost] Boost.Algorithms organization question
From: Marshall Clow (mclow.lists_at_[hidden])
Date: 2011-12-05 10:56:20
So, while I'm waiting for my review result, I've been implementing the new algorithms that were to the standard library for C++11
(at least the ones that don't require the new language features)
minmax -- this one is already in boost
minmax_element -- this one is already in boost, but doesn't satisfy the C++11 performance gaurantees
(and, of course, Boost.Range versions wherever appropriate)
I have not done:
shuffle -- requires rvalue references
random_shuffle -- requires rvalue references
move -- already in Boost.Move; maybe just a forwarding header file?
move_backward -- already in Boost.Move; maybe just a forwarding header file?
Anyway - my question is:
Should these all go into a "c++11" subdirectory? If so, should I create a "c++11.hpp" header file that includes all of them, so that users can just
and get all the C++11 algorithms?
Alternately, should they just live in boost/algorithm ?