Commit Graph
49 Commits
Author SHA1 Message Date
code@jendruk.com dbb6ef424f Fix any_range with non-reference references can cause UB 2019-05-07 12:06:05 +02:00
Peter Dimov 1dac6a796e Add quick test target (for CI) 2017-12-02 19:10:56 +02: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
Neil Groves 4a80ccd50d Ticket 10988 - Filtered adaptor should only require SinglePassRange. 2015-02-01 19:05:58 +00:00
Neil Groves 6f11252633 Ticket 10336 - unit test added. 2015-01-31 14:50:58 +00:00
Eric Niebler c2a7ac4197 attempted fix for iterator_range relational operators bug 2014-07-29 17:53:27 -07:00
Neil Groves 3ecf600434 Fixed range adaptors that were creating underlying iterators that were not default constructible. 2014-06-16 14:49:25 +01:00
Neil Groves 5918e7e63e changed the separated function to become the new formatted adaptor. 2014-06-05 01:00:13 +01:00
Neil Groves 60025220f5 add Enabler template argument to range_iterator, range_const_iterator and range_mutable_iterator extension points. 2014-06-04 12:23:40 +01:00
Neil Groves 5f2560f753 Ticket 9851 - adaptors should perform concept check assertions. 2014-05-06 23:37:21 +01:00
Neil Groves a6bd3e6e44 added the boost::range::separated function for range output streaming. 2014-03-09 21:09:00 +00:00
Neil Groves 4ebbbba82b ticket 7885 rvalue support for metafunctions. 2014-03-09 00:28:43 +00:00
Neil Groves f86d487706 ticket 7294 iterator_range hash_value support. 2014-03-08 22:23:22 +00:00
Neil Groves 69759731bb implemented drop_front and drop_back with test. 2014-03-04 15:05:00 +00:00
Neil Groves 6206535453 type_erased random_access adapter separated. 2014-03-04 12:02:28 +00:00
Neil Groves bd1fd9610e type_erased test separated the forward traversal. 2014-03-04 11:52:02 +00:00
Neil Groves 379fbc51e3 type_erased unit test separated bidirectional traversal. 2014-03-04 11:46:57 +00:00
Neil Groves 438e735dcc type_erased split out single-pass. 2014-03-04 11:41:19 +00:00
Neil Groves c96897198a type_erased test separated the template parameter conversion test. 2014-03-04 11:34:36 +00:00
Neil Groves 8de7e29fc7 type_erased mix of values test separated. 2014-03-04 11:26:50 +00:00
Neil Groves 43ab929257 type_erased abstract and brackets tests separated. 2014-03-04 11:18:46 +00:00
Neil Groves 42a7f0c70c trac 6742 - unit test showing working phoenix combined with the transformed adaptor. 2014-03-03 14:21:35 +00:00
Neil Groves 63acc5c633 trac 8676 sliced adaptor fixed. 2014-03-03 00:10:08 +00:00
Neil Groves 8b60f2c768 iterator_range interop with variant. 2014-03-02 22:50:24 +00:00
Neil Groves ceffd1cf79 strided adaptor rewritten to correct defects and optimise performance. 2014-02-26 21:17:29 +00:00
Neil Groves 1d91272a55 trac 6715 - iterator_range operators work automatically in derived. 2014-02-22 22:31:48 +00:00
Neil Groves 8e7eeeb6d9 ticket 5811 - unit test to confirm already fixed. 2014-02-22 16:14:55 +00:00
Nathan Ridge 1c18f42e83 [range] Use correct iterator concepts when checking Boost.Range concepts (refs #6944).
[SVN r84566]
2013-05-30 23:16:51 +00:00
Nathan Ridge fc88bc06ad [range] fixed #7843 (missing example in docs for 'tokenized' range adaptor)
[SVN r82345]
2013-01-04 00:58:17 +00:00
Nathan Ridge 4a44cc75c9 [range] refactor use of examples in documentation to avoid redundancy
[SVN r82344]
2013-01-03 23:44:30 +00:00
Neil Groves 8810c4c4aa [boost][range] - Ticket 5547 - Boost.Range join() ambiguous with Boost.Algorithm join() function. Put the Boost.Range join function into the boost::range namespace and brought out with 'using'
[SVN r72106]
2011-05-22 21:19:53 +00:00
Neil Groves 91428c2110 [boost][range] - Ticket 5530 - adaptor example fails to compile. This change adds tests for all of the .cpp example files for the range adaptors, and fixes a few small issues with the examples shown by the new tests.
[SVN r72104]
2011-05-22 21:03:01 +00:00
Neil Groves 44c26a3356 [boost][range] - Ticket 5486 - Removal of unnecessary variables from adjacent_filtered_range. This removes the requirement for the predicate to be default constructible.
[SVN r72102]
2011-05-22 20:33:06 +00:00
Neil Groves b06fca8378 [boost][range] - Ticket 5556 - is_sorted namespace issue under GCC 4.5
[SVN r72101]
2011-05-22 20:20:20 +00:00
Neil Groves df1a3a334f [boost][range] - ticket 5544 - fix for termination of irange.
[SVN r72070]
2011-05-22 11:16:53 +00:00
Neil Groves 126e6861d7 [boost][range] - Resolved Trace 5162 - boost::iterator_range<T*> is unsafe.
[SVN r70852]
2011-04-02 13:05:26 +00:00
Neil Groves 55fd3ca5b2 [boost][range] - Updated begin/end to be protected against accidental ADL to improve compatibility with C++0x. Added any_range which adds type erasure support. Added a type_erased adaptor to utilise the any_range. Implemented the any_iterator using a small buffer optimization to avoid heap usage.
[SVN r67541]
2011-01-01 16:46:32 +00:00
Neil Groves 9cf925c079 [boost][range] - Added has_range_iterator and has_range_const_iterator. Trac ticket 4296.
[SVN r67433]
2010-12-23 18:10:09 +00:00
Neil Groves 612cec17bb [boost][range] - Update to relax preconditions for the strided adaptor, and numerous fixes to inspection report issues.
[SVN r67418]
2010-12-22 22:31:33 +00:00
Neil Groves 925b3ad355 Boost.Range updated unit tests.
[SVN r61648]
2010-04-28 16:11:40 +00:00
Neil Groves 4641e2e69d Boost.Range - removed unnecessary code from the sliced adaptor.
Added a unit test to test the use of a non-member function as a transform functor and composition of strided, sliced and transformed range adaptors.

[SVN r61404]
2010-04-19 11:45:27 +00:00
Neil Groves 4830359a93 Boost.Range corrected istream_range implementation. Added the missing istream_range unit test. Removed the untested and undocumented unbounded_range for this release.
[SVN r61345]
2010-04-17 21:02:28 +00:00
Neil Groves 47b40f66e1 Boost.Range defect fix for the operator[] of iterator_range. This now reverts to a simpler implementation when the iterator is a pointer.
[SVN r61258]
2010-04-13 20:41:11 +00:00
Neil Groves cee9ffc1a8 Boost.Range added unit tests for extended algorithms.
Put the extended algorithms into boost::range in a similar manner to the standard algorithms.
Added iota as an extended algorithm.
Fixed defects in the extended algorithms brought to light by the new unit tests.

[SVN r61042]
2010-04-04 14:14:12 +00:00
Neil Groves b0d1db7c2e Boost.RangeEx merged into Boost.Range
[SVN r60897]
2010-03-28 16:08:35 +00:00
Thorsten Jørgen Ottosen 15a697f86b new jamfile to see warnings better
[SVN r46348]
2008-06-12 12:00:57 +00:00
Vladimir Prus a933622ae1 Allow building of shared versions of some Boost.Test libraries.
Adjust tests to use always use static linking to Boost.Test, since
linking to the shared version requires test changes.

Patch from Juergen Hunold.


[SVN r35989]
2006-11-10 19:09:56 +00:00
Vladimir Prus e50a544c2a Update Jamfile.v2
[SVN r32704]
2006-02-07 11:55:46 +00:00
Vladimir Prus 25ebab429d Add V2 Jamfile
[SVN r28244]
2005-04-14 11:56:47 +00:00