100 Commits
Author SHA1 Message Date
Neil Groves caeff56002 [boost][range] - fix a very odd compilation problem in range_size that only occurs on clang 4.2 on the Mac (clang 4.2 on linux is fine)
[SVN r85717]
2013-12-30 04:53:48 -05:00
Neil Groves 01b4147e09 [boost][range] - removed warnings found building with clang 3.2.
[SVN r85698]
2013-12-30 04:53:39 -05:00
Neil Groves a8084dcb12 [boost][range] correct lifetime defect in the tokenized range adapter
[SVN r85697]
2013-12-30 04:53:34 -05:00
Neil Groves ec4783e655 [boost][range] - changed join_iterator reference type handling to address several user observations and failing clang builds.
[SVN r85692]
2013-12-30 04:53:29 -05:00
Neil Groves e7880d8963 [boost][range] - changed join_iterator reference type handling to address several user observations and failing clang builds.
[SVN r85691]
2013-12-30 04:53:24 -05:00
Neil Groves 226dbab183 [boost][range] Ticket 8702 - size_type detection
[SVN r85690]
2013-12-30 04:53:17 -05:00
Neil Groves 3d3dea1411 [boost][range] - fix for ticket 6888 - unique predicate overloads
[SVN r85686]
2013-12-30 04:53:12 -05:00
Neil Groves fbc0057432 [boost][range] - fix for ticket 8341 - has_range_iterator
[SVN r85682]
2013-12-30 04:53:06 -05:00
Neil Groves 34cea300e5 [boost][range] - fix a very odd compilation problem in range_size that only occurs on clang 4.2 on the Mac (clang 4.2 on linux is fine)
[SVN r85717]
2013-09-16 23:23:38 +00:00
Neil Groves 30e6df5a15 [boost][range] - removed warnings found building with clang 3.2.
[SVN r85698]
2013-09-16 11:21:36 +00:00
Neil Groves 2285f909f6 [boost][range] correct lifetime defect in the tokenized range adapter
[SVN r85697]
2013-09-16 10:10:12 +00:00
Neil Groves 0addcfadeb [boost][range] - changed join_iterator reference type handling to address several user observations and failing clang builds.
[SVN r85692]
2013-09-15 22:15:46 +00:00
Neil Groves 426e0c39a8 [boost][range] - changed join_iterator reference type handling to address several user observations and failing clang builds.
[SVN r85691]
2013-09-15 22:15:12 +00:00
Neil Groves f662a07bcc [boost][range] Ticket 8702 - size_type detection
[SVN r85690]
2013-09-15 21:54:32 +00:00
Neil Groves 90ce7f3703 [boost][range] - fix for ticket 6888 - unique predicate overloads
[SVN r85686]
2013-09-15 19:44:36 +00:00
Neil Groves a59819fc6e [boost][range] - fix for ticket 8341 - has_range_iterator
[SVN r85682]
2013-09-15 18:05:49 +00:00
Neil Groves bda0d613c1 [boost][range] merge from trunk to release
[SVN r80677]
2012-09-23 18:59:28 +00:00
Neil Groves dceccc9de9 [boost][range] - Added the missing include of boost/utility/enable_if.hpp to boost/range/algorithm/for_each.hpp
[SVN r79180]
2012-06-29 21:49:37 +00:00
Neil Groves dc46fc13ab [boost][range] - Merge trac resolutions from the trunk. The most notable change is the alteration of the size type to be unsigned. This is a potentially breaking change.
[SVN r78860]
2012-06-08 22:59:54 +00:00
Neil Groves 5a04c9e05b [boost][range] - Ticket 5993 - Accumulate Concept Check constness.
[SVN r77993]
2012-04-15 12:24:53 +00:00
Neil Groves e6279d4436 [boost][range] - Ticket 6149 - as_literal causing unnecessary copy (on very silly compilers)
[SVN r77992]
2012-04-15 12:18:02 +00:00
Neil Groves 11238e4c19 [boost][range] - Trac 5971 - size() should return an unsigned type.
[SVN r77990]
2012-04-15 11:52:01 +00:00
Neil Groves 2f3d82be9f [boost][range] - merge from trunk of miscellaneous defect fixes
[SVN r72427]
2011-06-05 21:47:57 +00:00
Neil Groves 41b76f8f5c [boost][range] - Ticket 5236 - Improved test coverage to ensure that the result for a random access strided range is consistent with that of a bidirectional strided range.
[SVN r72108]
2011-05-22 22:15:14 +00:00
Neil Groves 846f11a96c [boost][range] - Ticket 5236 - Strided reversing past begin issue resolved.
[SVN r72107]
2011-05-22 22:06: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 3b3889b70f [boost][range] - Ticket 5485 - doubly defined BOOST_DEFINE_RANGE_ADAPTOR_1 macro.
[SVN r72098]
2011-05-22 20:01:12 +00:00
Neil Groves 5ed6116490 [boost][range] - ticket 5544 - fix for termination of irange - done properly for negative step sizes.
[SVN r72097]
2011-05-22 19:59:59 +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 d490a84c8d [boost][range] - Improved the work-around for VC10 for_each implementation. Corrected a missing newline at the end of the file.
[SVN r70850]
2011-04-02 10:14:51 +00:00
Neil Groves 10af4fc1e0 [boost][range] - Improve the forwarding of the functor, and provide a work-around for the breaking changes in VC10 for_each.
[SVN r70690]
2011-03-29 10:27:00 +00:00
Neil Groves f8bb8aafbf [range] - Improved default Reference type deduction for the join_iterator as implemented by aschoedl in Trac issue 5061.
[SVN r70041]
2011-03-16 23:55:25 +00:00
Neil Groves c6a6a46db4 [range] - Fix for the demotion of traversal tags supplied by aschoedl. This is mentioned in Trac issue 5061, but has also been reported independently by a few users.
[SVN r70040]
2011-03-16 23:47:02 +00:00
Neil Groves cc8a1413cb [range] - Qualify the lookup of the make_transform_iterator function to protect against ADL. This was reported as part of Trac issue 5061.
[SVN r70039]
2011-03-16 23:41:12 +00:00
Neil Groves 1131136d4a [range] - Fix for Trac issue 5313 - Typos in boost/range/detail/detail_str.hpp
[SVN r70038]
2011-03-16 23:37:03 +00:00
Neil Groves 3cd6a7277f [range] Added <=, ==, >, >=, != operators to iterator_range
[SVN r70037]
2011-03-16 23:33:57 +00:00
Neil Groves 19a2090ef8 [range] - Fix for Trac issue 5295 - boost/range/sub_range.hpp cannot be included by itself
[SVN r70036]
2011-03-16 23:31:59 +00:00
Neil Groves 67f457ade1 [range] Fix for Trac issue 5179 - Extra ";" in boost range file
[SVN r70035]
2011-03-16 23:29:29 +00:00
Neil Groves 7315e2c14e [range] resolved trac issue 5295 - sub_range.hpp was missing an include of concepts.hpp
[SVN r70034]
2011-03-16 23:20:12 +00:00
Neil Groves cafea6aea5 [boost][range] - Merge a fix to undo an erroneous change to iterator_range.size() that allowed it to compile for ranges that did not model the Random Access Range Concept and thereby broken the complexity guarantees.
[SVN r68190]
2011-01-16 17:07:27 +00:00
Neil Groves 96c78123f0 [boost][range] - Fixed erroneous change by 'Wash' the size() function is intended to be for Random Access Ranges only to be in keeping with the other Boost.Range size() functions.
[SVN r68177]
2011-01-16 00:05:12 +00:00
Neil Groves 6d46ce412f [range] - merge the tested changes from the trunk in preparation for the 1.46 release.
[SVN r67905]
2011-01-10 06:35:02 +00:00
Neil Groves 2da424d940 [boost][range] - Improved the tests by implementing outside of the boost namespace to better simulate real world usage.
[SVN r67602]
2011-01-03 01:33:04 +00:00
Neil Groves a5d94bbe21 [boost][range] - Make the type_erased adaptor test compatible with more compilers and reduce the time of test compilation/execution to avoid timeouts on the Intel compilers.
[SVN r67601]
2011-01-03 00:38:52 +00:00
Neil Groves 716cf7795e [boost][range] - Fixed defect where BOOST_TEST_MESSAGE was being undefined as a side-effect by the boost/range/detail/any_iterator_buffer.hpp header file
[SVN r67542]
2011-01-01 16:51:31 +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 c506d2537f [boost][range] - Trac item 4226 - Implemented a safe_bool utility class that is intended to be refactored into a core area. Integrated this into iterator_range.
[SVN r67463]
2010-12-26 23:14:08 +00:00
Neil Groves efb7b50a8a [boost][range] - Improved the implementation of strided range to eliminate requirements for boost::size(rng) to be a valid expression. Each traversal category of strided_iterator is now individually implemented.
[SVN r67461]
2010-12-26 20:33:33 +00:00
Neil Groves 674be9dfa0 [boost][range] - merge from trunk which fixes a defect in the strided range adaptor, and contains improvements to the documentation
[SVN r67454]
2010-12-26 15:13:43 +00:00
Neil Groves fd63de33e9 [boost][range] - Correctly attribute the test case kindly contributed by Michel Morin.
[SVN r67453]
2010-12-26 14:15:23 +00:00
Neil Groves 014fdb8ace [boost][range] - Corrected yesterdays erroneous modifications to the strided adaptor.
[SVN r67445]
2010-12-24 15:00:08 +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 4fc942f45e [boost][range] - Resolved Trac ticket 4355 - Concepts did not check that iterators must be dereferencable.
[SVN r67430]
2010-12-23 11:56:27 +00:00
Neil Groves 48fc316156 [boost][range] - Added documentation for the join() function. This is to resolve Trac ticket 4740.
[SVN r67428]
2010-12-23 10:56:23 +00:00
Neil Groves c66fb8e807 [boost][range] - manually split the implementation calls to search_n _impl and search_n_pred_impl due to a function overload resolution issue with VC10.
[SVN r67426]
2010-12-23 09:59:53 +00:00
Neil Groves 3adf4d2869 [boost][range] - Resolution of Trac item 4905 - Implementation of boost::range::map_keys should use boost::range_reference
[SVN r67423]
2010-12-23 00:56:04 +00:00
Neil Groves de24df7962 [boost][range] - Fixed the search_n predicate version and resolve Trac ticket 4776
[SVN r67421]
2010-12-23 00:12:28 +00:00
Neil Groves dfa0764d53 [boost][range] - Resolution of Trac ticket 4355. Made the naming of the returned types from range adaptors consistent and documented.
[SVN r67420]
2010-12-22 23:42:02 +00:00
Neil Groves d68174a51d [boost][range] - Update to relax preconditions for the strided adaptor, and numerous fixes to inspection report issues.
[SVN r67419]
2010-12-22 22:36:43 +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 26c095d022 Boost.Range merge of bug fixes and documentation
[SVN r64120]
2010-07-18 11:36:34 +00:00
Neil Groves 22c4ab4a06 Boost.Range fixes for Tickets: 4131, 4136, 4398, 4388. Plus updated history in the documentation.
[SVN r64111]
2010-07-17 19:44:31 +00:00
Neil Groves a06f11589f Removed invalid comparison of invalidated iterators in the Boost.Range partition test case.
[SVN r64088]
2010-07-17 12:25:57 +00:00
Neil Groves 109bf20484 [range] - corrected defected test for the partition algorithm.
[SVN r64001]
2010-07-13 22:28:37 +00:00
Neil Groves 183e449a31 [range] disambiguate const / non-const overloads for Intel compilers and older GCC.
[SVN r63998]
2010-07-13 20:31:40 +00:00
Neil Groves 7c3b66d520 [range] experimental commit using disable_if in an attempt to resolve the ambiguity warnings on some compilers.
[SVN r63938]
2010-07-12 22:45:30 +00:00
Neil Groves 334bc28136 avoid name clash with Boost.Algorithm by renaming replace_range to replaced_range
[SVN r63936]
2010-07-12 22:02:46 +00:00
Neil Groves 40714ccc7e [range] - fix erroneous change to uniqued test case.
[SVN r63935]
2010-07-12 21:52:28 +00:00
Neil Groves 5bb66037d3 [boost][range] - Improved handling of temporary ranges in range algorithms.
[SVN r63904]
2010-07-12 00:14:07 +00:00
Neil Groves 74a01a4487 [boost][range] - Improved handling of temporary ranges in range algorithms.
[SVN r63903]
2010-07-12 00:12:49 +00:00
Neil Groves ef000176d8 [boost][range] - Improved handling of temporary ranges in range algorithms.
[SVN r63902]
2010-07-12 00:08:41 +00:00
Neil Groves aebb16feef Boost.Range sliced adaptor is now compatible with VC10 even with using namespace boost::adaptors.
[SVN r61923]
2010-05-12 01:34:50 +00:00
Neil Groves c9802507ab Boost.Range - modified join and irange to return public range types.
[SVN r61690]
2010-04-29 22:03:58 +00:00
Neil Groves 91d62c2c1a Boost.Range documentation merge from the trunk. Corrects inconsitency with return types, Range Return Categories etc.
[SVN r61685]
2010-04-29 21:18:58 +00:00
Neil Groves 3ef3363c2d Boost.Range documentation iteration.
[SVN r61662]
2010-04-28 19:27:44 +00:00
Neil Groves 7e065ca313 Boost.Range corrected dodgy link in the Uniqued adaptor documentation.
[SVN r61661]
2010-04-28 19:16:28 +00:00
Neil Groves 1d5fb47238 Boost.Range documentation iteration.
[SVN r61660]
2010-04-28 19:07:47 +00:00
Neil Groves 83c89f3038 Boost.Range documentation: corrected the Returned Range Category for the uniqued adaptor
[SVN r61654]
2010-04-28 18:09:41 +00:00
Neil Groves e3e1fc43d3 Boost.Range documentation iteration. Primarily this is the inclusion of Range Return Categories for every Range Adaptor page.
[SVN r61653]
2010-04-28 18:03:26 +00:00
Neil Groves 5364ea2cad Boost.Range commit fix for the mismatch documentation - thanks to vincente botet for spotting this.
[SVN r61651]
2010-04-28 16:52:24 +00:00
Neil Groves ec58d739eb Boost.Range documentation iteration.
[SVN r61650]
2010-04-28 16:29:11 +00:00
Neil Groves 925b3ad355 Boost.Range updated unit tests.
[SVN r61648]
2010-04-28 16:11:40 +00:00
Neil Groves abc18532e4 Boost.Range documentation update iteration.
[SVN r61647]
2010-04-28 16:09:03 +00:00
Neil Groves f9eeb5d447 Boost.Range correct missing items from merge by merging these changes manually.
This changeset is what should have happened with the prior svn merge operation.

[SVN r61519]
2010-04-23 23:18:59 +00:00
Neil Groves a47f15a98f Boost.Range merge from trunk to release.
This is motivated by the need to correct the istream_range, to correct the adaptors.hpp header file, and correct the return types of various range algorithms.

[SVN r61517]
2010-04-23 22:50:56 +00:00
Neil Groves adc4b5db3b Boost.Range brought back some of the const overloads that were over-zealously removed.
[SVN r61495]
2010-04-22 22:43:57 +00:00
Neil Groves 1dea353fa3 Boost.Range revert accidental check-in of lambda test. It kinda breaks most compilers - doh.
[SVN r61452]
2010-04-21 07:37:25 +00:00
Neil Groves 3e2d5cb786 Boost.MultiArray disambiguated calls to equal functions in the unit tests. These became ambiguous due to changes in Boost.Range.
[SVN r61441]
2010-04-20 21:56:33 +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 a1cb3d9795 Boost.Range added the strided adaptor to the boost/range/adaptors.hpp
[SVN r61378]
2010-04-18 19:55:46 +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 cf63ba0dc9 Boost.Range removed redundant overloads, increased compiler support, and made return types consistent.
[SVN r61281]
2010-04-14 22:16:11 +00:00
Neil Groves dfc30e334d Boost.Range merged defect fix for iterator_range.
[SVN r61280]
2010-04-14 21:15:41 +00:00
Neil Groves 22fcae4fcb Boost.Range reverted attempted fix for iterator_range::operator[] since this was not a good fix.
[SVN r61269]
2010-04-14 07:41:38 +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 350a1f8bfc Boost.Range updated the return types of various algorithms to improve consistency. This is to address a specific request made during the formal review of Boost.RangeEx.
[SVN r61211]
2010-04-11 22:05:02 +00:00