Commit Graph

229 Commits

Author SHA1 Message Date
Neil Groves
0d93777ece type_erased unit test reduce dependencies of the recently split type_erased tests. 2014-03-04 12:33:51 +00:00
Neil Groves
6206535453 type_erased random_access adapter separated. 2014-03-04 12:02:28 +00:00
Neil Groves
a4633c2c1e type_erased_bidrectional.cpp formatting. 2014-03-04 11:53:13 +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
b5f60f0448 removed obsolete test code from type_erased.cpp. 2014-03-04 11:28:22 +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
c9b96f2c88 trac 7376 - join iterator reference type. 2014-03-03 15:43:05 +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
4cb056c80b ticket 5811 - attempt to fix link error on many automated regression test hosts. 2014-03-03 12:30:23 +00:00
Neil Groves
17c0fa271c trac 9515 - fix for uniqued adaptor consistent with unique algorithm. 2014-03-03 01:24:56 +00:00
Neil Groves
d87e1f3ade make intel happy with type_erased static_assert calls. 2014-03-03 00:30:11 +00:00
Neil Groves
132828a8db make msvc happy with the ticket 6715 test case. 2014-03-03 00:26:22 +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
79d2a66831 trac 5816 - fix any_range requiring copyable elements. 2014-03-02 15:35:50 +00:00
Neil Groves
3af0142509 fixed counting_range from a range. 2014-02-27 17:42:32 +00:00
Neil Groves
502abb9884 eliminate unused local typedef and signed/unsigned comparison warnings. 2014-02-27 16:34:58 +00:00
Neil Groves
ceffd1cf79 strided adaptor rewritten to correct defects and optimise performance. 2014-02-26 21:17:29 +00:00
Neil Groves
654ae838ee refactored iterator_range to better handle SFINAE. 2014-02-24 18:26:03 +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
Neil Groves
7cd6631cae strided.cpp unit test has the deque test removed. 2014-02-21 17:52:32 +00:00
Neil Groves
96054b0b48 unit test type_erased.cpp corrected mix of value types under test. 2014-02-21 17:50:28 +00:00
Neil Groves
b795de8310 extension_size.cpp include added to cstdint.hpp 2014-02-21 17:44:16 +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
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
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
Nathan Ridge
b4f00e3c18 [range] Fixed a bug in join_iterator where joining a const range and a non-const range led to a compiler error (refs #8483).
[SVN r85400]
2013-08-20 06:06:12 +00:00
Nathan Ridge
b0c1cf556f [range] Fixed a bug in istream_range() that prevented it from working with character types other than 'char' (refs #7407).
[SVN r84707]
2013-06-09 02:34:36 +00:00
Nathan Ridge
8be23dd1aa [range] Fix off-by-one error in implementation of irange() (refs #7731).
[SVN r84701]
2013-06-08 20:41:43 +00:00
Nathan Ridge
991bd7f8be [range] Fixed a failing test on gcc 4.2 (refs #6944).
[SVN r84643]
2013-06-05 00:42:41 +00:00
Nathan Ridge
c908e04144 [range] Make iterator of 'indexed' adaptor default-constructible (refs #7827).
[SVN r84617]
2013-06-03 09:00:46 +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
fe79a8efdd [range] allow iterator_range to be instantiated with a pointer to an array as the iterator type (refs #8338)
[SVN r83596]
2013-03-27 02:16:11 +00:00
Nathan Ridge
45a1acb980 [range] fix some minor typos in comments - fixes #7916
[SVN r82594]
2013-01-24 09:10:47 +00:00
Nathan Ridge
cbd915a988 [range] fixed #5314 (small mistakes in range adaptor examples)
[SVN r82346]
2013-01-04 01:18:36 +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
11238e4c19 [boost][range] - Trac 5971 - size() should return an unsigned type.
[SVN r77990]
2012-04-15 11:52:01 +00:00
Gennadiy Rozental
1cb6a99c80 eliminated unit_test_framework
[SVN r74719]
2011-10-05 09:13:05 +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
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
3cd6a7277f [range] Added <=, ==, >, >=, != operators to iterator_range
[SVN r70037]
2011-03-16 23:33:57 +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
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
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
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
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
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
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
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
Douglas Gregor
5b1d0544e2 Const-qualified objects of class type require the class to have a
user-declared default constructor.


[SVN r61758]
2010-05-04 15:26:09 +00:00
Neil Groves
925b3ad355 Boost.Range updated unit tests.
[SVN r61648]
2010-04-28 16:11:40 +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
Jeremiah Willcock
f6c15771e2 Fixed tab and no-newline-at-end-of-file issues from inspection report
[SVN r61435]
2010-04-20 17:54:16 +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
067b63da8e Boost.Range improved push_front algorithm unit test. Updated documentation.
[SVN r61145]
2010-04-08 19:09:34 +00:00
Neil Groves
a24a69f38e Boost.Range - avoid accidental ADL of begin/end functions.
[SVN r61098]
2010-04-06 10:12:11 +00:00
Neil Groves
704ce0186a Boost.Range fix to the combine function that did not show as a defect on most compilers.
This iteration also makes the code compatible with more compilers.

[SVN r61071]
2010-04-05 14:12:24 +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
d0544400af Boost.Range fixes for compilers that were having problems picking between const and mutable range overloads of range algorithms.
[SVN r61028]
2010-04-03 21:00:56 +00:00
Neil Groves
f8f29ae7d3 Boost.Range improvements for compiler compatibility, especially C++0x compilers.
[SVN r61026]
2010-04-03 20:10:16 +00:00
Neil Groves
39d77206e1 Boost.Range fixed C++0x problem due to accidental argument dependent lookup in the const_ranges unit test.
[SVN r61025]
2010-04-03 19:31:43 +00:00
Neil Groves
b0d1db7c2e Boost.RangeEx merged into Boost.Range
[SVN r60897]
2010-03-28 16:08:35 +00:00
Troy D. Straszheim
1461479a17 rm cmake from trunk. I'm not entirely sure this is necessary to satisfy the inspect script, but I'm not taking any chances, and it is easy to put back
[SVN r56942]
2009-10-17 02:07:38 +00:00
Troy D. Straszheim
7663f559f2 Copyrights on CMakeLists.txt to keep them from clogging up the inspect
reports.  This is essentially the same commit as r55095 on the release
branch.



[SVN r55159]
2009-07-26 00:49:56 +00:00
Michael A. Jackson
5e7948667e Updating CMake files to latest trunk. Added dependency information for regression tests and a few new macros for internal use.
[SVN r49627]
2008-11-07 17:02:56 +00:00
Michael A. Jackson
a65512ed5c Continuing merge of CMake build system files into trunk with the encouragement of Doug Gregor
[SVN r49510]
2008-11-01 13:15:41 +00:00
Thorsten Jørgen Ottosen
15a697f86b new jamfile to see warnings better
[SVN r46348]
2008-06-12 12:00:57 +00:00
Thorsten Jørgen Ottosen
36a99eb0a0 test of updated as_literal()
[SVN r45124]
2008-05-05 06:42:30 +00:00
Thorsten Jørgen Ottosen
8b712359a2 test
[SVN r43156]
2008-02-07 14:46:19 +00:00
Thorsten Jørgen Ottosen
73db2a05b6 cleanup to pass inspection tool
[SVN r43135]
2008-02-06 23:12:21 +00:00
Thorsten Jørgen Ottosen
2e0d7eab4a removed some warnings
[SVN r41181]
2007-11-17 21:21:53 +00:00
Thorsten Jørgen Ottosen
7b3857a9a8 minor tweaks to avoid warnings ... extension mechanism updated to follow new protocol
[SVN r40966]
2007-11-09 13:31:43 +00:00
Thorsten Jørgen Ottosen
2e298b5e60 adds test for inclusion of concept header
[SVN r40521]
2007-10-28 10:11:54 +00:00
Thorsten Jørgen Ottosen
f6e555dda3 updated example to new syntax
[SVN r40507]
2007-10-27 15:57:56 +00:00
Thorsten Jørgen Ottosen
8984de1c74 roll back of ADL names
[SVN r40422]
2007-10-24 15:18:22 +00:00
Thorsten Jørgen Ottosen
4db083cd6d Shunsuke Sogame's MFC/ATL docs and tests
[SVN r40381]
2007-10-23 20:28:52 +00:00