Peter Dimov
1dac6a796e
Add quick test target (for CI)
2017-12-02 19:10:56 +02:00
Peter Dimov
1234c59a39
Merge pull request #61 from danieljames/develop
...
Include boost/next_prior.hpp where needed
2017-12-02 16:00:35 +02:00
Daniel James
e0d2e492a1
Include boost/next_prior.hpp where needed
...
A recent change to boost/utility.hpp removed the include of this header,
so now it's needed for boost::prior and boost::next.
b74f49f1e5
2017-12-02 10:40:16 +00:00
neilgroves
619c074146
Merge pull request #58 from boostorg/revert-45-develop
...
Revert "Update irange.hpp"
2017-11-15 23:22:00 +00:00
neilgroves
4614777aaf
Revert "Update irange.hpp"
2017-11-15 23:21:32 +00:00
neilgroves
83a352fa58
Merge pull request #45 from mateuszlewko/develop
...
Update irange.hpp
2017-11-15 19:52:41 +00:00
neilgroves
0e0d77cfab
Merge pull request #56 from tonyelewis/add_const_to_adj_filt_rng
...
Add missing const to adjacent_filtered_range
2017-11-15 19:51:18 +00:00
neilgroves
d1f36fba8d
Merge pull request #54 from cwecht/push_back_move_support
...
push_back: added support for not-copyable but moveable value-types li…
2017-11-15 19:51:00 +00:00
neilgroves
4283443532
Merge pull request #57 from jeanphilippeD/fix_transformed_test
...
Fix transformed test compile error on GCC 5.4
2017-11-15 19:49:05 +00:00
neilgroves
3771624560
Merge pull request #43 from timblechmann/topic/unary-irange
...
irange: introduce one-parameter variant of irange
2017-11-15 19:48:19 +00:00
Jean-Philippe DUFRAIGNE
4a729678fd
Fix transformed test compile error on GCC 5.4
...
The function object 'lambda' did not provide result_type like the other
function objects did.
The test now compile and pass using'b2'
2017-09-24 14:13:42 +01:00
Tony Lewis
dfa3697764
Add missing const to adjacent_filtered_range
2017-09-14 20:07:07 +01:00
Peter Dimov
8b98b696ff
Qualify boost::search in test/algorithm to avoid ambiguity with C++17's std::search
2017-09-10 03:01:13 +03:00
Christopher Wecht
d99628981d
push_back: added support for not-copyable but moveable value-types like e.g. unique_ptr
2017-09-01 17:53:46 +02:00
neilgroves
e65434eb4f
Merge pull request #53 from morinmorin/fix_c++03_breakage
...
Fix breakage in replaced adaptor for C++03
2017-07-12 14:18:05 +01:00
morinmorin
93513a3801
Make rng | replaced_if consistent with rng | replaced
2017-07-12 22:08:22 +09:00
morinmorin
93eb91e63e
Fix breakage in replaced adaptor for C++03
2017-07-12 22:06:58 +09:00
neilgroves
f3a4246bd9
Merge pull request #48 from t-wynants/fix-ticket-12754-sfinae-friendly-overload
...
Ticket 12754 - sfinea friendly boost::range_details::replace_holder overloads
2017-06-30 12:45:34 +01:00
neilgroves
796080bbb8
Merge pull request #46 from jeanphilippeD/lambda_copy_transform_it
...
Allow iterator copy for lambda in transformed and filtered
2017-06-30 12:43:38 +01:00
neilgroves
370f1a4cd2
Merge pull request #51 from DanielaE/feature/replace-removed-c++98-stuff
...
Conditionally replace deprecated/removed C++98 function adapters and …
2017-06-30 12:42:59 +01:00
neilgroves
7d564572e2
Merge pull request #50 from orgads/patch-1
...
Fix broken link in overview
2017-06-30 12:42:41 +01:00
neilgroves
9afc3bcbe2
Merge pull request #52 from morinmorin/use_boost_distance_from_iterator_lib
...
Make boost::distance traversal-category-aware (and constexpr in C++14)
2017-06-30 12:40:18 +01:00
morinmorin
69409ed63a
Make boost::distance traversal-category-aware (and constexpr in C++14)
2017-06-30 20:02:53 +09:00
Daniela Engert
23e5801e2a
Conditionally replace deprecated/removed C++98 function adapters and std::random_shuffle by equivalents.
...
Signed-off-by: Daniela Engert <dani@ngrt.de >
2017-05-05 14:15:11 +02:00
Orgad Shaneh
e476e1900a
Fix broken link in overview
2017-05-03 10:18:25 +03:00
neilgroves
452b1bb7e7
Merge pull request #44 from apolukhin/develop
...
Added BOOST_CONSTEXPR for begin()/end()
2017-04-17 14:39:19 +01:00
Tim Wynants
7b89c747d6
Ticket 12754 - operator| overload for boost::range_details::replace_holder is not SFINEA friendly
...
include\boost\range\adaptor\replaced.hpp
Make sure that the overload resolution doesn't choke on the value type factory when its considers the overload
2017-01-12 17:45:31 +01:00
Eric Niebler
deb3ae9800
Merge branch 'master' into develop
2016-11-26 22:45:08 -08:00
Eric Niebler
56d470635d
Qualify call to boost::size to avoid ambiguity with std::size
boost-1.65.0
boost-1.65.1
boost-1.64.0-beta2
boost-1.64.0-beta1
boost-1.64.0
boost-1.63.0
2016-11-26 22:44:31 -08:00
Eric Niebler
5c70a54597
Merge branch 'master' into develop
2016-11-23 14:56:09 -08:00
Eric Niebler
f829c55c72
Merge pull request #47 from boostorg/fix-boost-size_type
...
Don't assume that because type `T` is a range that `const T` is also a range.
2016-11-23 14:54:26 -08:00
Eric Niebler
910fc7bf82
Qualify call to boost::size to avoid ambiguity with std::size
2016-11-23 14:47:42 -08:00
Eric Niebler
67c18ac1f1
Merge remote-tracking branch 'origin/master' into develop
2016-11-18 21:28:24 -08:00
Eric Niebler
5787c56994
Merge pull request #47 from boostorg/fix-boost-size_type
...
Don't assume that because type `T` is a range that `const T` is also a range.
2016-11-18 12:06:32 -08:00
Eric Niebler
9e5680b590
Don't assume that because type T is a range that const T is also a range.
...
size_type<const T> erroneously dispatches to detail::size_type_<T>. That breaks for types that have non-const begin/end but that don't have const begin/end. The range-v3 library has such types.
2016-11-18 11:50:32 -08:00
Jean-Philippe DUFRAIGNE
1b4f8100ef
Allow iterator copy for lambda in transformed and filtered
...
Lambda has no default constructor nor a copy or move assignment.
range\test\adaptors.cpp is checking that produced ranges are copiable,
but it is not doing so the for lambda, or lambda like objects.
default_constructible_unary_fn uses an optional for default
construction.
I extended it to use its emplace facility to copy assign non copy
assignable types.
(see boost::optional 'Type Requierment': 'If T is not MoveAssignable,
it is still possible to reset the value of optional<T> using function
emplace():')
2016-10-23 23:27:31 +01:00
Rene Rivera
7567dce0c1
Add, and update, documentation build targets.
2016-10-10 11:39:52 -05:00
Rene Rivera
e48b9c38e7
Add, and update, documentation build targets.
2016-10-07 23:07:36 -05:00
mateuszlewko
283b8beddc
Update irange.hpp
...
Added: irange(int last), irange(int first, int last)
2016-04-09 19:32:22 +02:00
Antony Polukhin
4ce15f9b52
Added BOOST_CONSTEXPR for begin()/end()
2016-01-24 22:51:19 +03:00
Tim Blechmann
bb43887430
irange: introduce one-parameter variant of irange
...
this simplifies the use of boost::irange, as boost::irange( 0, foo );
may compile or not depending on the platform-specific integer type of
foo, requiring an explicit cast of 0 to decltype(foo).
2016-01-17 11:40:55 +01:00
neilgroves
5a37aa4e98
Merge pull request #41 from robin-eckert/adaptor_ref_unwrapped
...
add a new range adaptor boost::adaptors::ref_unwrapped
2016-01-04 16:38:36 +00:00
neilgroves
0e931f4a80
Merge pull request #33 from tobias-loew/master
...
Ticket #10397 - compilation error with mfc-iteratior-support: ambiguous symbol
boost-1.62.0
boost-1.61.0
2016-01-04 16:37:18 +00:00
neilgroves
5196baa1b0
Merge pull request #42 from rydotyosh/patch-1
...
[range] fixed minor typo in docs
2016-01-04 16:36:58 +00:00
neilgroves
1947daf1b5
Merge pull request #39 from MarcelRaad/fix_iterator_pair_test
...
Fix test compilation
2016-01-04 16:36:42 +00:00
rydotyosh
7ca999c662
[range] fixed minor typo in docs
2015-11-14 15:41:48 +09:00
neilgroves
e7ebe14707
Merge pull request #40 from treh/treh-patch-1
...
qualify boost::range_[const|mutable]_iterator
2015-11-05 11:42:43 +00:00
Robin Eckert
3225aaf82b
add a new range adaptor boost::adaptors::ref_unwrapped
...
The new adaptor is like boost::adaptors::indirected, but for
std::reference_wrapper values (instead of pointer). It calls
.get() on every value and returns the result. It is useful for
range-based iteration of ranges of std::reference_wrapper (or
related) types.
2015-11-04 19:12:26 +01:00
treh
262c0f96b3
qualify boost::range_[const|mutable]_iterator
...
otherwise boost::range_detail::range_[const|mutable]_iterator gets accidentily called
2015-11-04 09:58:15 +01:00
Marcel Raad
1a3aeeb336
Fix test compilation
...
boost::detail::iterator_traits was used without including the necessary header
file. It's deprecated anyway and only maps to std::iterator_traits. Also,
utility was missing for std::pair.
2015-09-22 00:51:41 +02:00