Edward Diener
c86db2ec8a
Merge branch 'support-lambda-expression' of https://github.com/nekko1119/iterator into nekko1119-support-lambda-expression
2016-12-16 04:22:44 -05:00
Edward Diener
11e3715f37
Updated to use unique_ptr instead of auto_ptr when appropriate. Removed unnecessary structs.
2016-11-07 14:01:19 -05:00
nekko1119
c09c8ca2b2
Support lambda expressions in function_input_iterator
2015-12-28 02:45:49 +09:00
Marcel Raad
443dfb9901
Fix test compilation
...
boost/iterator.hpp was implicitly dragged in via boost/operators.hpp, from which it was removed in cb6500161b . It's not needed anyway, all it does is map boost::iterator to std::iterator.
2015-09-22 00:33:50 +02:00
Edward Diener
878812c42f
More tests with fusion sequence as tuple
2015-08-23 23:46:44 -04:00
Edward Diener
a0533d97f5
Merge branch 'pr/zip_iterator/fusionize' of https://github.com/Flast/iterator into Flast-pr/zip_iterator/fusionize
2015-08-21 22:09:37 -04:00
Kohei Takahashi
3d3560c12d
Avoid 'reference to reference' error in C++03.
...
Some (strict) C++03 compilers (e.g. `gcc -std=c++03`) reject
'reference-to-reference' in the template and typedef which described
in CWG DR106 [1].
In such situations, iterator_facade rejects reference type as a value
type and some special iterators will become ill-formed:
the test libs/range/test/join.hpp might be descriptive.
[1] http://www.open-std.org/Jtc1/sc22/wg21/docs/cwg_defects.html#106
Signed-off-by: Kohei Takahashi <flast@flast.jp >
2014-09-29 14:58:40 +09:00
Kohei Takahashi
2511f21d62
Merge upstream branch 'develop' into pr/zip_iterator/fusionize
2014-08-25 00:36:36 +09:00
Andrey Semashev
f158dba6ad
Moved minimum_category to the public namespace. Added tests.
2014-07-19 21:39:49 +04:00
Andrey Semashev
810b58cfb0
Moved pure_traversal_tag to public namespace.
...
Also added an import into the boost::detail namespace for backward compatibility with Boost.Range. Added a pure_iterator_traversal metafunction that automatically converts iterator category as well.
2014-07-19 20:57:42 +04:00
Kohei Takahashi
156c13a494
Merge upstream branch 'develop' into pr/zip_iterator/fusionize
...
Signed-off-by: Kohei Takahashi <flast@flast.jp >
2014-07-12 15:57:03 +09:00
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
Andrey Semashev
dc96d371fa
Moved most components of the library to iterators:: namespace.
...
This change excludes boost:: and boost::detail:: namespaces from ADL for unqualified function calls (e.g. algorithms). This reduces the possibility of name clashes with other libraries and user's code. One of the effects should be fixing test failures on gcc 4.2 and 4.4 due to clashed with Boost.TypeTraits.
Also some of the functions marked with inline keyword.
2014-07-03 00:22:45 +04: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
045a05f81f
Run generator_iterator_test.cpp
...
I accidentally removed it in 8e5b8025d8 .
2014-06-30 10:59:03 +01:00
Andrey Semashev
fd94cc7d78
Removed executable flags from docs, tests and examples.
2014-06-29 15:49:05 +04:00
Kohei Takahashi
9841d87212
Add tests for fusion based zip_iterator
...
Signed-off-by: Kohei Takahashi <flast@flast.jp >
2014-06-14 15:59:31 +09:00
John Maddock
6b2a5cccc4
Remove all references to now defunct (and removed) header.
...
[SVN r86438]
2014-06-06 01:06:48 +01:00
Stephen Kelly
a803b5b42d
Remove use of obsolete BOOST_TT_BROKEN_COMPILER_SPEC
...
[SVN r86250]
2014-06-06 01:06:48 +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
Peter Dimov
2d9362fe89
Move generator_iterator doc/test files, update test/Jamfile.v2.
2014-06-05 02:37:48 +03:00
John Maddock
d4d51389d1
Remove all references to now defunct (and removed) header.
...
[SVN r86438]
2013-10-26 10:13:38 +00:00
Stephen Kelly
4a82a5646f
Remove use of obsolete BOOST_TT_BROKEN_COMPILER_SPEC
...
[SVN r86250]
2013-10-11 23:23:26 +00:00
Jeffrey Lee Hellrung, Jr.
512298cb5c
- 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]
2012-10-08 02:02:09 +00:00
Jeffrey Lee Hellrung, Jr.
31c3971720
fix #5825 ; fix #7194
...
[SVN r80467]
2012-09-09 15:33:12 +00:00
Jeffrey Lee Hellrung, Jr.
ad90dac61d
refs #5127 applying Michael Morin's patch for transform_iterator to trunk
...
[SVN r78121]
2012-04-22 01:27:49 +00:00
Jeremiah Willcock
964a29979c
Applied patches from #5697 ; refs #5697
...
[SVN r77723]
2012-04-02 18:19:44 +00:00
Marshall Clow
caa0e5035a
Added Michel's patches for #1427
...
[SVN r68205]
2011-01-17 14:52:49 +00:00
Jeremiah Willcock
d469568de7
function_input_iterator fixes from Dean Michael Berris
...
[SVN r62710]
2010-06-10 05:59:46 +00:00
Jeremiah Willcock
2786268510
Applied patches from #1427 ; fixes #1427
...
[SVN r62625]
2010-06-09 01:08:45 +00:00
Dave Abrahams
ac522bc9e1
category of each component iterator is reduced to a known category before we try to find a minimum.
...
Closes #1517
[SVN r58012]
2009-11-28 18:53:43 +00:00
Dave Abrahams
4c60e26bf8
Made sure that iterator_facade's nested `::pointer` type is always
...
the same as what's returned from operator->. For input iterators,
that wasn't always the case (see operator_arrow_proxy).
Fixes #1019 .
[SVN r57989]
2009-11-28 05:12:29 +00:00
Troy D. Straszheim
d11c7a3ec4
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
76fd8e27fb
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
835498603d
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
b0ec5a759b
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
Vladimir Prus
1f0a885def
Remove V1 Jamfiles
...
[SVN r38516]
2007-08-08 19:02:26 +00:00
Dave Abrahams
0b095e687f
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).
[SVN r37057]
2007-02-24 22:40:59 +00:00
Dave Abrahams
9d241238f8
Fix inspection issues
...
[SVN r35239]
2006-09-21 02:40:19 +00:00
Dave Abrahams
7243852b0a
GCC-3.3.x workarounds
...
[SVN r35151]
2006-09-18 02:34:18 +00:00
Dave Abrahams
e7843bdea3
The previous test ran afoul of a few compilers. Let's try again.
...
[SVN r35126]
2006-09-15 16:40:07 +00:00
Dave Abrahams
bca372da18
fix for http://tinyurl.com/kbwzm
...
[SVN r35102]
2006-09-13 22:36:10 +00:00
Dave Abrahams
0237e49a17
fix for http://tinyurl.com/zuohe
...
[SVN r35101]
2006-09-13 22:24:14 +00:00
Nicola Musatti
0dbe767eec
Borland workaround updated
...
[SVN r33719]
2006-04-17 14:23:24 +00:00
Dave Abrahams
58341b3517
Stop using assert() in tests so we can test with NDEBUG defined.
...
[SVN r33026]
2006-02-20 15:45:40 +00:00
Douglas Gregor
7846e4bfd7
slist updates
...
[SVN r32477]
2006-01-31 13:30:01 +00:00
Thomas Witt
73811245eb
Fix counting_iterator::distance_to fails to instantiate for non default template arguments.
...
[SVN r31758]
2005-11-23 19:12:49 +00:00
Markus Schöpflin
48f7be7015
Workaround for non-conforming definition of std::ostream_iterator on Tru64/CXX.
...
[SVN r30852]
2005-09-07 16:03:55 +00:00
Thomas Witt
55fd9078a1
Renamed to avoid >31 char filename.
...
[SVN r30088]
2005-07-14 21:10:07 +00:00
Dave Abrahams
e22bb495db
vc6-stlport workaround
...
[SVN r29795]
2005-06-26 13:21:09 +00:00