Kohei Takahashi
11f7d1bc18
Merge upstream branch 'develop' into pr/zip_iterator/fusionize
...
Signed-off-by: Kohei Takahashi <flast@flast.jp >
2014-07-03 21:52:26 +09:00
Noel Belcourt
e000b676cc
Merge pull request #4 from Lastique/sfinae-based-operators
...
Make iterator operators conditionally defined depending on its category.
Looks okay and fixes several known problems, thanks Andrey.
2014-06-30 16:49:53 -06:00
Daniel James
25139e1311
Remove operator_brackets_dispatch.hpp
...
I should have removed it in 8e5b8025d8 .
2014-06-30 10:53:35 +01:00
Kohei Takahashi
aad767ed3f
Merge upstream branch 'develop' into pr/zip_iterator/fusionize
2014-06-30 11:13:38 +09:00
Andrey Semashev
7fa65a4278
Made iterator operators conditionally defined depending on its category.
...
This makes iterators defined using iterator_facade more friendly to type inspection and fixes its use with next()/prior() since commit 651a869d4f .
The arithmetic, indexing and relational operators are only defined if the iterator category or traversal permits that. Note that the implementation requires partial template specialization support now.
2014-06-30 00:05:38 +04:00
Andrey Semashev
36988fcf98
Removed executable flags from headers.
2014-06-29 15:42:47 +04:00
Kohei Takahashi
782313db8c
Remove unnecessary specialization
...
Signed-off-by: Kohei Takahashi <flast@flast.jp >
2014-06-14 15:59:31 +09:00
Kohei Takahashi
c040d4c38b
make_zip_iterator should be inlined
...
Signed-off-by: Kohei Takahashi <flast@flast.jp >
2014-06-14 15:59:31 +09:00
Kohei Takahashi
1ddaca8297
zip_iterator specialization for std::pair
...
Signed-off-by: Kohei Takahashi <flast@flast.jp >
2014-06-14 15:59:31 +09:00
Kohei Takahashi
acf9b4d4cf
Reimplement zip_iterator based on Boost.Fusion
...
By default, backward compatibility for Boost.Tuple is presented.
Signed-off-by: Kohei Takahashi <flast@flast.jp >
2014-06-12 01:05:36 +09:00
Daniel James
187bc896f6
BOOST_ITERATOR_CATEGORY shouldn't be removed.
...
Since it was documented, it should be kept for backwards compatiblity.
2014-06-06 23:03:03 +01:00
Stephen Kelly
6883d083d2
Iterator: Remove obsolete MSVC version checks.
...
[SVN r86082]
Conflicts:
include/boost/iterator/iterator_facade.hpp
2014-06-06 23:03:03 +01:00
Stephen Kelly
0345db959b
Remove use of BOOST_ITERATOR_CATEGORY
...
[SVN r86056]
2014-06-06 23:03:03 +01:00
Stephen Kelly
d814423414
Iterator: Remove obsolete GCC version check.
...
[SVN r86055]
2014-06-06 23:03:03 +01:00
Stephen Kelly
eb288b2908
Iterator: Remove use of eti baseclass workaround.
...
[SVN r85940]
2014-06-06 23:03:03 +01:00
Daniel James
8d96469cb4
Add link to changeset mentioned in comment.
2014-06-06 01:03:30 +01:00
Jeffrey Lee Hellrung, Jr
09549a613e
refs #6403
...
[SVN r80903]
2014-06-06 01:03:30 +01:00
Daniel James
8e5b8025d8
Revert changes that were merged to master.
...
Reverted: 2e099caceb9..21102938e8ccb
I'm going to reapply some of them soon, but it's easier to revert them
all first, as there are conflicts. Also the number of changes that were
inserted since then, mean that there would be a huge gap between related
changes.
2014-06-06 00:56:20 +01:00
Stephen Kelly
220a11883c
Remove remaining occurances of BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
...
These evaded scripting.
[SVN r86249]
2014-06-05 01:14:58 +03:00
Stephen Kelly
913df78ec0
Simplify multi-component ifdefs containing BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
...
[SVN r86248]
2014-06-05 01:14:37 +03:00
Stephen Kelly
01f9b396d8
Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
...
Process #ifdef...#else...#endif blocks.
[SVN r86246]
2014-06-05 01:14:14 +03:00
Stephen Kelly
67d418a5c6
Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
...
Process #ifndef...#endif conditions.
[SVN r86244]
2014-06-05 01:13:55 +03:00
Stephen Kelly
d853e444ce
Iterator: Remove obsolete MSVC version checks.
...
[SVN r86082]
2014-06-05 01:13:31 +03:00
Stephen Kelly
e6d5c24b91
Remove use of BOOST_ITERATOR_CATEGORY
...
[SVN r86056]
2014-06-05 01:13:14 +03:00
Stephen Kelly
98db5b4f9a
Iterator: Remove obsolete GCC version check.
...
[SVN r86055]
2014-06-05 01:13:00 +03:00
Stephen Kelly
739c95411f
Iterator: Remove use of eti baseclass workaround.
...
[SVN r85940]
2014-06-05 01:12:47 +03:00
Jeffrey Lee Hellrung, Jr
8ce330a111
refs #6403
...
[SVN r80903]
2014-06-05 01:12:20 +03:00
Jeffrey Lee Hellrung, Jr
d291c7b43e
- BREAKING CHANGE: iterator_facade::pointer now corresponds to the actual result of iterator_facade::operator-> rather than Value*. This required an adjustment to a test.
...
- The logic for determining the result of iterator_facade::operator[] has been factored out into a separate detail header in preparation for its potential use in iterator_range to avoid iterator_range::operator[] from returning a reference to a temporary.
[SVN r80901]
2014-06-05 01:11:49 +03:00
Jeffrey Lee Hellrung, Jr.
6d0b2d4f8a
Merging trunk to release; fixing typo in comments of iterator_facade.
...
[SVN r80818]
2012-10-02 13:30:46 +00:00
Jeffrey Lee Hellrung, Jr.
c9463e941f
Merging boost/iterator from trunk to release (usability improvement after latest fix to function_input_iterator).
...
[SVN r80813]
2012-10-02 01:14:36 +00:00
Jeffrey Lee Hellrung, Jr.
9025bbfc2a
Merging boost/iterator and libs/iterator trunk to release.
...
[SVN r80568]
2012-09-18 02:50:52 +00:00
Jeffrey Lee Hellrung, Jr.
c7fc3470d0
merging from trunk; fix #5127 from M. Morin; fix for refs #5697
...
[SVN r78184]
2012-04-24 21:28:07 +00:00
Daniel James
5d72ae48da
Iterator: Use boost::result_of to determine nested result type of function in transform_iterator. Fixes #1427 .
...
[SVN r70715]
2011-03-29 21:31:29 +00:00
Daniel James
1ca1caddff
Iterator: merge several changes from trunk.
...
- Update iterator_facade test for #1019
(header change already merged).
- Category of each iterator is reduced to a known category before we try to
find a minimum. Fixes #1517 .
- `function_input_iterator` from Dean Michael Berris. Fixes #2893
- Fix typo in `boost/iterator.hpp`. Fixes #3434 .
- Always include `add_reference` header in iterator adaptor header.
Did not merge changes for #1427 .
[SVN r70709]
2011-03-29 21:17:11 +00:00
Daniel James
d45b57c33c
Revert [68076], refs #1427 .
...
Will try to fix this properly in 1.47.
[SVN r68524]
2011-01-28 08:40:25 +00:00
Marshall Clow
5a88e6f958
Merging fixes to release; Fixes #1427
...
[SVN r68076]
2011-01-13 01:25:09 +00:00
Marshall Clow
36565eae63
Merging fixes to release; fixes #2294 fixes #4918 fixes #3645 refs #2823 refs #1427 refs #2893
...
[SVN r67792]
2011-01-08 18:38:08 +00:00
Jeremiah Willcock
f65f03afcc
Merged r62593 from trunk
...
[SVN r62594]
2010-06-08 19:11:44 +00:00
Nicola Musatti
2ece3ac5c2
CodeGear patch. Fixes #2344
...
[SVN r49321]
2008-10-13 19:27:26 +00:00
Dave Abrahams
78effefadb
Merging SunPro 5.9 workaround from trunk
...
[SVN r47467]
2008-07-16 04:52:14 +00:00
Boris Gubenko
6d0f901b2e
merge trunk version (changeset/42064) to release branch
...
[SVN r42129]
2007-12-17 18:43:36 +00:00
Beman Dawes
23d53055f9
Full merge from trunk at revision 41356 of entire boost-root tree.
...
[SVN r41369]
2007-11-25 18:07:19 +00:00
Dave Abrahams
aa483f4961
Correct testing bugs:
...
either changing assert(...) or BOOST_ASSERT(...) to BOOST_TEST
(in my code only)
or adding "return boost::report_errors();" where it was clearly
missing (and a pure bug, in anyone's code).
or changing BOOST_TEST to BOOST_CHECK where the integer library
was clearly using Boost.Test and not returning report_errors().
[SVN r37063]
2007-02-25 15:28:02 +00:00
Dave Abrahams
02d22c12ae
fix for http://tinyurl.com/kbwzm
...
[SVN r35102]
2006-09-13 22:36:10 +00:00
Dave Abrahams
70ef2f0e81
fix for http://tinyurl.com/zuohe
...
[SVN r35101]
2006-09-13 22:24:14 +00:00
Dave Abrahams
b7283c93c6
merged from trunk
...
[SVN r35075]
2006-09-12 22:34:33 +00:00
Dave Abrahams
f482354ffd
merged from trunk
...
[SVN r33820]
2006-04-25 20:35:01 +00:00
Dave Abrahams
d79112ee5a
merged from trunk
...
[SVN r33713]
2006-04-16 18:03:52 +00:00
Dave Abrahams
a4e7ba6c28
Fixed definition of iterator_facade_ nested type so derived classes
...
can use it. It appears to have never been tested.
[SVN r33297]
2006-03-09 23:09:16 +00:00
Dave Abrahams
e23a647cff
Eliminate duplicate inline keyword warnings.
...
[SVN r32993]
2006-02-18 18:00:26 +00:00