Commit Graph

161 Commits

Author SHA1 Message Date
Thomas Witt
6589266894 MSVC fixes.
[SVN r1408]
2003-07-07 09:02:58 +00:00
Thomas Witt
9ee9f64087 Fixed crt issue. Make transform_iterator work with function pointers.
[SVN r1404]
2003-07-02 21:46:51 +00:00
Thomas Witt
2d4965d72b Added traversal category checking to core interface implementation.
[SVN r1399]
2003-07-02 20:04:26 +00:00
Thomas Witt
21141ef401 Simplyfied make_transform_iterator.
[SVN r1398]
2003-07-01 21:30:03 +00:00
Thomas Witt
3c0c2b8513 Improved portability.
[SVN r1397]
2003-07-01 18:47:43 +00:00
Thomas Witt
405e6ba468 Added function ptr support to make_transform_iterator.
[SVN r1396]
2003-06-30 22:08:20 +00:00
Hartmut Kaiser
4258cac90d Added new file to iterator adaptors library.
[SVN r1361]
2003-06-13 19:42:53 +00:00
Roland Richter
fd37912e30 Rewrite to work with new iterator_adaptors.
[SVN r1360]
2003-06-13 08:15:30 +00:00
Dave Abrahams
b49d0fe184 We no longer inherit from boost::iterator (thus, std::iterator) on
platforms where it's not neccessary as a workaround, thus enabling the
EBO for a large class of cases

renamed iterator_facade_base -> iterator_facade_types

fixed indentation of PP directives

worked around an MSVC6 bug which shows up with STLPort debug iterators.


[SVN r1297]
2003-06-01 15:23:27 +00:00
Dave Abrahams
65fe9a13e5 iterator_archetypes.hpp, iterator_concepts.hpp -
incrementable_iterator_tag -> incrementable_traversal_tag
   single_pass_iterator_tag -> single_pass_traversal_tag

iterator_categories.hpp -

   added writability stripping to new_category_to_access for iterator

   adaptors based on iterators with new-style tags

   ReturnTag->AccessTag / returns->access

   Fixed a bug which would rule out user-defined access/traversal tags
   - we weren't accounting for tag convertibility without public
   inheritance.

iterator_facade.hpp -

   Workaround for a Borland const-dropping bug.

detail/categories.hpp -

   fixed is_tag so it doesn't rely on inheritance for detection

concept_tests.cpp -

   added new tests, use static_assert_same for better feedback on failure

iterator_adaptor_test.cpp

   workarounds for CWPro7, use static_assert_same for better feedback on failure
   wiped out #if 0 section

unit_tests.cpp -

   factored static_assert_same into a separate file


[SVN r1296]
2003-05-31 02:44:39 +00:00
Thomas Witt
e2b58d1eea Added test for constant iterator idiom.
[SVN r1295]
2003-05-30 14:57:41 +00:00
Dave Abrahams
021e048e06 Add more tests
[SVN r1294]
2003-05-30 03:08:22 +00:00
Dave Abrahams
1a58125e62 Apply Howard's inheritance fixes
[SVN r1293]
2003-05-30 03:07:39 +00:00
Dave Abrahams
2e18357672 Improved comments.
[SVN r1292]
2003-05-29 22:33:23 +00:00
Dave Abrahams
1236797033 Fixed a bug in reference type and category computation.
Improved comments.


[SVN r1291]
2003-05-29 22:33:10 +00:00
Dave Abrahams
5076d782af Removed needless diagnostic
[SVN r1290]
2003-05-29 22:31:56 +00:00
Thomas Witt
9ba316e3aa Added test to detect category problem.
[SVN r1289]
2003-05-29 17:43:16 +00:00
Thomas Witt
0bada0a914 Made filter_iterator bidirectional.
[SVN r1288]
2003-05-29 17:11:11 +00:00
Thomas Witt
8da33f502f Readded use_default support.
[SVN r1287]
2003-05-29 17:10:33 +00:00
Jeremy Siek
438334584c read/write to read/swap as per Dave's suggestion
[SVN r1258]
2003-05-12 02:01:59 +00:00
Jeremy Siek
67950e82fb updated with Howard's improvements
[SVN r1257]
2003-05-12 01:47:48 +00:00
Jeremy Siek
e30ea3ad7e added a comment about indirect iterator and smart pointers
[SVN r1251]
2003-04-28 21:18:57 +00:00
Dave Abrahams
a529a82a66 kill redundancy; final edits
[SVN r1250]
2003-04-28 15:02:42 +00:00
Dave Abrahams
e2b3a260d5 All workarounds complete! Also some cleanups
[SVN r1249]
2003-04-28 13:54:59 +00:00
Jeremy Siek
70e2b4f922 removed super_t
improvements to counting_iterator
other small edits


[SVN r1248]
2003-04-28 13:40:53 +00:00
Dave Abrahams
3c4a6c429c Some workarounds; more to do.
[SVN r1247]
2003-04-28 11:36:22 +00:00
Thomas Witt
a44a4e6b0c Changed iterator_facade to new interface.
Added new semantics for iterator_adaptor
iterator_category.


[SVN r1246]
2003-04-28 09:42:42 +00:00
Jeremy Siek
19b62f22a9 wrote up the spec for transform_iterator
spell checked
removed Pointer


[SVN r1238]
2003-04-28 05:56:22 +00:00
Dave Abrahams
357f2c5c23 Some workarounds; more to do.
[SVN r1237]
2003-04-28 05:22:04 +00:00
Jeremy Siek
62c2eb051a added specs for core interface functions of the iterator_adaptor, and
updated to match recent changes in the code
some minor edits to new iter concepts, including defualt constructor
  in forward trav. iter.


[SVN r1236]
2003-04-28 04:56:27 +00:00
Dave Abrahams
a57faf5a6e small tweaks
[SVN r1235]
2003-04-28 03:17:36 +00:00
Thomas Witt
d4d3f1d448 Removed Pointer template argument.
Made facade work with new categories only.
Added old->new category conversion logic to adaptor.


[SVN r1234]
2003-04-28 02:50:46 +00:00
Thomas Witt
b2ec28ec7d Relaxed test, was to strict.
[SVN r1233]
2003-04-28 02:49:09 +00:00
Thomas Witt
2ffbd73c02 Added first archetype test.
[SVN r1232]
2003-04-28 02:48:16 +00:00
Thomas Witt
a27bef1b9f New archetypes
[SVN r1231]
2003-04-28 02:46:11 +00:00
Thomas Witt
fc11987746 Fixed base type of iterator_tag to be corresponding std tag.
[SVN r1230]
2003-04-28 02:45:45 +00:00
Thomas Witt
3f5ac1b1a1 Fixed typo.
[SVN r1229]
2003-04-28 02:44:37 +00:00
Jeremy Siek
9189d5bd60 checking in what I've got so far
[SVN r1228]
2003-04-28 01:44:05 +00:00
Jeremy Siek
39342de58c made some progress on the special iterator adaptors
[SVN r1227]
2003-04-27 22:07:47 +00:00
Dave Abrahams
c72ce2ae74 Many edits
[SVN r1226]
2003-04-27 19:31:56 +00:00
Dave Abrahams
a83891fb94 Add link to issue 96
Add appropriate keys for the tables.
Kill meaningless "set of value types"
Fix random traversal interaction with a[n]


[SVN r1225]
2003-04-27 16:52:54 +00:00
Dave Abrahams
408bb7125f More updates
[SVN r1222]
2003-04-27 14:58:45 +00:00
Dave Abrahams
a4c3f95501 more privacy
[SVN r1219]
2003-04-27 10:42:47 +00:00
Jeremy Siek
6e038bca05 removed counting_iterator paragraph
added a reply to a comment


[SVN r1216]
2003-04-27 02:52:33 +00:00
Jeremy Siek
bc3d6b7c40 couple edits
[SVN r1215]
2003-04-27 00:42:55 +00:00
Jeremy Siek
2bb60050ac added some more specs
[SVN r1214]
2003-04-27 00:40:58 +00:00
Dave Abrahams
af92b555d3 more edits
[SVN r1213]
2003-04-27 00:20:50 +00:00
Thomas Witt
73030b3ac8 Adjusted to new category names.
[SVN r1210]
2003-04-26 19:06:12 +00:00
Thomas Witt
849f351a27 Updated to current proposal.
[SVN r1209]
2003-04-26 19:04:09 +00:00
Thomas Witt
2f75219ca3 Adapted to iterator categories proposal.
[SVN r1208]
2003-04-26 19:02:12 +00:00