eec00d8421
Implement copy_if_while and copy_if_until
...
Problem:
- There is no way to signal that a copy should proceed, selecting
elements by a predicate until some condition is met. This is useful
for patterns along the lines of "copy selected elements until there
are n total elements in the output".
Solution:
- Introduce `copy_if_while()` and `copy_if_until()`.
2022-06-24 16:48:44 +00:00
9ef3df0d0b
Update header files to always include boost/config.hpp. Fixes issue #61
2019-12-03 08:33:05 -08:00
968d30e9e3
Merge branch 'develop' into apolukhin/constexpr
2017-04-10 12:16:38 +03:00
1da90fcc4a
Remove unnecessary #include <algorithm> and correct some comments
2016-04-29 15:37:09 -04:00
8d095e9d30
Added constexpr modifiers for C++14 mode and some tests
2016-01-25 13:11:01 +03:00
4dac507b77
Remove code to use standard library versions of algorithms. Always use the boost ones
2014-08-28 10:07:16 -07:00
5f45246c6c
Changed the return type for boost::algorithm::copy_while and copy_until to return a pair<InputIterator, OutputIterator> instead of just an OutputIterator
...
[SVN r83064]
2013-02-21 16:18:51 +00:00
4a4ae462fb
Fix bugs in copy_if; add basic tests. Refs #7400 . Thanks to Hideaki Takei for the catch
...
[SVN r80617]
2012-09-21 14:49:32 +00:00
ea13506795
Cleaned up things that the inspect tool found in Boost.Algorithm. No functionality change
...
[SVN r78687]
2012-05-27 15:24:09 +00:00
43c01ff2bc
Added c++11 algorithms to Boost.Algorithm
...
[SVN r77060]
2012-02-18 07:17:39 +00:00