Commit Graph

416 Commits

Author SHA1 Message Date
Eric Niebler
3d5f3611ba fix build break on msvc-8.0 2015-04-18 11:42:38 -07:00
neilgroves
8c1180f7f2 Merge pull request #27 from eldiener/develop
Remove dependency on type traits ice_xxx.hpp headers, which are deprecat...
2015-04-14 09:27:05 +01:00
Eric Niebler
811b27141a make range_iterator, range_difference, and range_size SFINAE-friendly, refs #11187 2015-04-14 00:57:54 -07:00
Edward Diener
a53bd134b2 Remove dependency on type traits ice_xxx.hpp headers, which are deprecated. 2015-04-02 01:54:45 -04:00
Neil Groves
0b28fd043f Fix for MSVC subrange iterator conversions. 2015-02-09 01:21:16 +00:00
Masahide Sakamaki
474c62ab16 fix missing return statement 2015-02-04 15:52:15 +09:00
Neil Groves
435ca994bf Ticket 10989 - strided adapter category. 2015-02-02 20:17:04 +00:00
Neil Groves
4a80ccd50d Ticket 10988 - Filtered adaptor should only require SinglePassRange. 2015-02-01 19:05:58 +00:00
Neil Groves
2356783e17 Merge branch 'develop'
Conflicts:
	include/boost/range/detail/any_iterator.hpp
	test/iterator_range.cpp
2015-01-31 13:38:08 +00:00
Neil Groves
688d1bc418 Update inclusion of polymorphic_cast.hpp to cat.hpp 2015-01-31 13:31:33 +00:00
neilgroves
dcbe4f9365 Merge pull request #21 from Lastique/patch-1
Use public interface of Boost.Iterator
2015-01-25 19:15:31 +00:00
levinmk
1965b797d8 fix ticket #10754
as described in https://svn.boost.org/trac/boost/ticket/10754, postfix_increment_proxy and writable_postfix_increment_proxy were moved to boost::iterators::detail namespace
2014-12-12 16:43:32 -06:00
Stephen Kelly
8bb3a85f68 Use local sfinae typedefs for yes_type and no_type.
Remove dependency on Boost.Algorithm library.
2014-09-10 15:37:48 +02:00
Stephen Kelly
0e9a9e613b Rely on the 'typename' keyword from the compiler.
Remove trailing whitespace from modified lines.

 git grep -l BOOST_STRING_TYPENAME | xargs sed -i 's|BOOST_STRING_TYPENAME *$|typename|'
 git grep -l BOOST_STRING_TYPENAME | xargs sed -i 's|BOOST_STRING_TYPENAME \(.*\) +$|typename \1|'
 git grep -l BOOST_STRING_TYPENAME | xargs sed -i 's|BOOST_STRING_TYPENAME|typename|'

Remove include of header from Boost.Algorithm library providing the define.
2014-09-10 15:37:45 +02:00
Andrey Semashev
4617c43b5e Use public interface of Boost.Iterator 2014-08-30 16:04:46 +04:00
Eric Niebler
7d13f63d5d avoid SFINAE problem in iterator_range constructor 2014-08-09 14:48:57 -07:00
Neil Groves
c865de5aa6 Hotfix to add back advance_begin and advance_end. 2014-08-04 22:06:11 +01:00
Neil Groves
7fb879a283 Hotfix to add back advance_begin and advance_end. 2014-08-04 17:53:14 +01:00
Eric Niebler
4716c1efec Merge pull request #16 from ericniebler/develop
attempted fix for iterator_range relational operators bug
2014-07-30 07:53:31 -07:00
Eric Niebler
1617a513d2 accomodate new boost::iterators namespace. See boostorg/iterator@dc96d371fa 2014-07-29 18:18:02 -07:00
Eric Niebler
c2a7ac4197 attempted fix for iterator_range relational operators bug 2014-07-29 17:53:27 -07:00
Eric Niebler
8a8b511109 remove executable bit on range.hpp 2014-07-22 09:36:52 -07:00
Eric Niebler
fbf91ce2da add missing inline keyword 2014-07-22 09:21:24 -07:00
Neil Groves
0ffe40272a Merge branch 'develop' - to incorporate the MSVC workaround for range_iterator by Eric Niebler. 2014-07-15 10:32:55 +01:00
Eric Niebler
d6dd1ad193 work-around for msvc limitation that causes has_iterator<> to fail for structs named iterator. Only applies to msvc-10.0 and earlier. 2014-07-14 00:03:45 -07:00
Neil Groves
cf6fabe950 Merge branch 'develop' - contains emergency fix to traversal tags to fix the accumulator tests. 2014-06-19 10:33:51 +01:00
Eric Niebler
1eecd2c2f6 handle composite iterator traversals in iterator_range 2014-06-19 00:43:52 -07:00
Neil Groves
e33c501c05 Merge branch 'develop' - small fixes in addition to a more major fix for adaptors
producing iterators that did not have default constructors.
2014-06-16 22:51:08 +01:00
Neil Groves
3ecf600434 Fixed range adaptors that were creating underlying iterators that were not default constructible. 2014-06-16 14:49:25 +01:00
Kohei Takahashi
61e02039dd More remove execute attribute from files.
rel. to:
  e0e6fefb1e

Signed-off-by: Kohei Takahashi <flast@flast.jp>
2014-06-16 20:28:02 +09:00
neilgroves
a0dad84a13 Merge pull request #10 from apolukhin/develop
Replaced deprecated cast.hpp with polymorphic_cast.hpp. Droped dependenc...
2014-06-16 10:40:18 +01:00
Eric Niebler
264017e2a9 more robust implementation for BOOST_RANGE_EXTRACT_OPTIONAL_TYPE 2014-06-16 00:00:09 -07:00
Neil Groves
12d4af20dd Merge branch 'develop' - improved indexed adaptor 2014-06-09 12:06:20 +01:00
Antony Polukhin
5ba77001dd Replaced deprecated cast.hpp with polymorphic_cast.hpp. Droped dependency to the Numeric library 2014-06-09 13:21:24 +04:00
Neil Groves
5ce6dc7814 change the return type from the indexed adaptor so that the index is available from the range element. 2014-06-09 02:12:00 +01:00
Neil Groves
749b1c5456 Merge branch 'develop' to incorporate trac 10098 2014-06-08 23:54:18 +01:00
Neil Groves
344f578934 trac_10098 iterator_range sign warning. 2014-06-07 17:19:35 +01:00
Neil Groves
6ee61a6578 Merge branch 'develop' - to include the range_fwd.hpp header file. 2014-06-07 17:07:15 +01:00
Neil Groves
fe1a592e46 add a range_fwd.hpp header file for the main classes/structs and the extension points. 2014-06-05 19:10:19 +01:00
Neil Groves
c555a1228f Merge branch 'develop' to incorporate the formatted adaptor 2014-06-05 14:30:52 +01:00
Neil Groves
4c8164a9aa bring formatted_range into the boost::range namespace. 2014-06-05 01:04:21 +01:00
Neil Groves
5918e7e63e changed the separated function to become the new formatted adaptor. 2014-06-05 01:00:13 +01:00
Neil Groves
e0e6fefb1e remove crazy execute file attribute from header files. 2014-06-04 18:56:49 +01:00
Neil Groves
36bb8a82fb Merge branch 'develop' to incorporate fixes from trac tickets. 2014-06-04 18:37:36 +01:00
Neil Groves
e43796c42c allow clang to use Range Concepts despite reporting GCC 4.2. 2014-06-04 13:15:04 +01:00
Neil Groves
60025220f5 add Enabler template argument to range_iterator, range_const_iterator and range_mutable_iterator extension points. 2014-06-04 12:23:40 +01:00
Neil Groves
ec3c98bc25 any_iterator now compiles without RTTI. 2014-05-07 00:13:09 +01:00
Neil Groves
5f2560f753 Ticket 9851 - adaptors should perform concept check assertions. 2014-05-06 23:37:21 +01:00
insideoutclub
e3f605a02f Update transform.hpp 2014-04-28 08:06:04 -07:00
Kohei Takahashi
35595211b6 Fix using deprecated macro
Signed-off-by: Kohei Takahashi <flast@flast.jp>
2014-04-21 01:14:09 +09:00
Neil Groves
fa629a53bd Merge branch 'develop' 2014-03-12 03:43:36 +00:00
Neil Groves
311225e0a1 remove rvalue reference changes to transformed adaptor. 2014-03-10 20:08:36 +00:00
Neil Groves
edb81e828b fully quality boost::enable_if since msvc namespaces dont work. 2014-03-10 19:01:24 +00:00
Neil Groves
083df800b5 Merge branch 'develop' 2014-03-10 11:10:25 +00:00
Neil Groves
ed0febc902 ticket 6172 - added unit test to ensure transformed works with bind. 2014-03-09 21:51:07 +00:00
Neil Groves
a6bd3e6e44 added the boost::range::separated function for range output streaming. 2014-03-09 21:09:00 +00:00
Neil Groves
70256bd8b0 ticket 4572 - make_iterator_range_n 2014-03-09 19:27:28 +00:00
Neil Groves
f1de74a6ac ticket 9438 for qualifying calls to ignore_unused_variable_warning 2014-03-09 17:59:35 +00:00
Neil Groves
52933ebd40 Merge branch 'develop' 2014-03-09 17:48:23 +00:00
Neil Groves
cbf385ac05 fix concepts on gccc4.8.2 and dodgy test iterators in iterator_range_drop.cpp test case. 2014-03-09 17:47:44 +00:00
Neil Groves
2f71c4b69b Merge branch 'develop' 2014-03-09 07:33:34 +00:00
Neil Groves
4ebbbba82b ticket 7885 rvalue support for metafunctions. 2014-03-09 00:28:43 +00:00
Neil Groves
f86d487706 ticket 7294 iterator_range hash_value support. 2014-03-08 22:23:22 +00:00
Neil Groves
90faa3941c ticket 7328 gccxml compatibility. 2014-03-08 22:00:27 +00:00
Neil Groves
9d0d5199ba ticket 9072 iterator_range accept reference to function type. 2014-03-08 21:54:55 +00:00
Neil Groves
343e74b8e3 added algorithm_ext insert algorithm for containers without a where iterator. 2014-03-08 21:42:42 +00:00
Neil Groves
7147a00fd7 ticket 5817 any_range default template params. 2014-03-08 21:19:03 +00:00
Neil Groves
3ed0626756 ticket 8028 - combine reimplemented and now documented. 2014-03-08 20:52:10 +00:00
Neil Groves
74fa42ed13 Merge branch 'develop'
These changes are just to address some small issues on some compiler versions with newly introduced tests. It also includes a fix to a recent regression in the sub_range class so that it preserves constness propagation as before the SFINAE improvement changes.
2014-03-05 22:02:25 +00:00
Neil Groves
e089e0748f fix for recently introduced regression to sub_range const propagation. 2014-03-04 20:22:57 +00:00
Neil Groves
69759731bb implemented drop_front and drop_back with test. 2014-03-04 15:05:00 +00:00
Neil Groves
59f39e5d7f merge branch develop 2014-03-04 13:51:43 +00:00
Neil Groves
194f357eeb trac 6685 - MFC range map adaptor. 2014-03-04 13:33:59 +00:00
Neil Groves
c9b96f2c88 trac 7376 - join iterator reference type. 2014-03-03 15:43:05 +00:00
Neil Groves
ea6ca22e3f trac 7188 c4127 warning in the equal function. 2014-03-03 15:00:42 +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
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
9b477525de reformatted numeric.hpp 2014-02-27 15:59:03 +00:00
Neil Groves
fd0f99c767 inner_product avoids pre-condition check with input_iterators due to single-pass limitation. 2014-02-27 13:51:06 +00:00
Neil Groves
259e917eaf trac_8693 const cast warn 2014-02-26 22:02:27 +00:00
Neil Groves
2a065b2420 trac_6732 join_iterator.hpp unused variable warn. 2014-02-26 21:40:39 +00:00
Neil Groves
49cfefdef5 equal algorithm corrected to be O(1) with random access and pred. 2014-02-26 21:34:34 +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
Stephen Kelly
9928939724 Remove remaining occurances of BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
These evaded scripting.

[SVN r86249]
2013-12-30 04:56:00 -05:00
Stephen Kelly
87ecc0caee Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
Process #ifdef...#else...#endif blocks.

[SVN r86246]
2013-12-30 04:55:56 -05:00
Stephen Kelly
2d78bde327 Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
Process #ifndef...#else...#endif blocks.

[SVN r86245]
2013-12-30 04:55:51 -05:00
Stephen Kelly
946d451d03 Remove obsolete files.
[SVN r86242]
2013-12-30 04:55:43 -05:00
Stephen Kelly
b60d4c7172 Range: Remove obsolete GCC version checks.
[SVN r86102]
2013-12-30 04:55:38 -05:00
Stephen Kelly
d1aea63c2f Remove obsolete MSVC check from pragma guard
git grep -h -B1 "^#\s*pragma once" | grep -v pragma | sort | uniq

is now clean.

[SVN r85952]
2013-12-30 04:55:32 -05:00
Stephen Kelly
ebbfe65595 Range: Remove obsolete MSVC version checks.
[SVN r85915]
2013-12-30 04:55:12 -05:00
Stephen Kelly
738bd42696 Range: Remove ATL specific define for old MSVC.
[SVN r85912]
2013-12-30 04:53:54 -05:00
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
Andrey Semashev
d3b13dd490 Fixed compilation with gcc 4.7.
[SVN r85707]
2013-12-30 04:53:43 -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