cekc
221ae46c2b
add std::tuple_element and std::tuple_size specializations for index_value
...
To make index_value work with structured bindings
https://wandbox.org/permlink/gsveiKdAamnEbOKM
2019-02-25 18:35:53 +03:00
Peter Dimov
364f755d99
Use boost::declval, as g++ 4.4 has decltype but no std::declval
2018-09-30 01:11:12 +03:00
Peter Dimov
7efe3c68f6
Fix msvc-10.0, msvc-11.0 failures in ref_unwrapped tests
2018-09-24 02:21:55 +03:00
Daniel James
e0d2e492a1
Include boost/next_prior.hpp where needed
...
A recent change to boost/utility.hpp removed the include of this header,
so now it's needed for boost::prior and boost::next.
b74f49f1e5
2017-12-02 10:40:16 +00:00
Tony Lewis
dfa3697764
Add missing const to adjacent_filtered_range
2017-09-14 20:07:07 +01:00
morinmorin
93513a3801
Make rng | replaced_if consistent with rng | replaced
2017-07-12 22:08:22 +09:00
morinmorin
93eb91e63e
Fix breakage in replaced adaptor for C++03
2017-07-12 22:06:58 +09:00
neilgroves
f3a4246bd9
Merge pull request #48 from t-wynants/fix-ticket-12754-sfinae-friendly-overload
...
Ticket 12754 - sfinea friendly boost::range_details::replace_holder overloads
2017-06-30 12:45:34 +01:00
Tim Wynants
7b89c747d6
Ticket 12754 - operator| overload for boost::range_details::replace_holder is not SFINEA friendly
...
include\boost\range\adaptor\replaced.hpp
Make sure that the overload resolution doesn't choke on the value type factory when its considers the overload
2017-01-12 17:45:31 +01:00
Robin Eckert
3225aaf82b
add a new range adaptor boost::adaptors::ref_unwrapped
...
The new adaptor is like boost::adaptors::indirected, but for
std::reference_wrapper values (instead of pointer). It calls
.get() on every value and returns the result. It is useful for
range-based iteration of ranges of std::reference_wrapper (or
related) types.
2015-11-04 19:12:26 +01: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
Eric Niebler
edc7bb5fd9
add missing inline keyword
2014-07-22 09:19:52 -07: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
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
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
5f2560f753
Ticket 9851 - adaptors should perform concept check assertions.
2014-05-06 23:37:21 +01:00
Neil Groves
311225e0a1
remove rvalue reference changes to transformed adaptor.
2014-03-10 20:08:36 +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
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
ceffd1cf79
strided adaptor rewritten to correct defects and optimise performance.
2014-02-26 21:17:29 +00:00
Neil Groves
2285f909f6
[boost][range] correct lifetime defect in the tokenized range adapter
...
[SVN r85697]
2013-09-16 10:10:12 +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
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
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
3b3889b70f
[boost][range] - Ticket 5485 - doubly defined BOOST_DEFINE_RANGE_ADAPTOR_1 macro.
...
[SVN r72098]
2011-05-22 20:01:12 +00:00
Neil Groves
cc8a1413cb
[range] - Qualify the lookup of the make_transform_iterator function to protect against ADL. This was reported as part of Trac issue 5061.
...
[SVN r70039]
2011-03-16 23:41:12 +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
c506d2537f
[boost][range] - Trac item 4226 - Implemented a safe_bool utility class that is intended to be refactored into a core area. Integrated this into iterator_range.
...
[SVN r67463]
2010-12-26 23:14:08 +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
014fdb8ace
[boost][range] - Corrected yesterdays erroneous modifications to the strided adaptor.
...
[SVN r67445]
2010-12-24 15:00:08 +00:00
Neil Groves
3adf4d2869
[boost][range] - Resolution of Trac item 4905 - Implementation of boost::range::map_keys should use boost::range_reference
...
[SVN r67423]
2010-12-23 00:56:04 +00:00
Neil Groves
dfa0764d53
[boost][range] - Resolution of Trac ticket 4355. Made the naming of the returned types from range adaptors consistent and documented.
...
[SVN r67420]
2010-12-22 23:42:02 +00:00
Neil Groves
d68174a51d
[boost][range] - Update to relax preconditions for the strided adaptor, and numerous fixes to inspection report issues.
...
[SVN r67419]
2010-12-22 22:36:43 +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
334bc28136
avoid name clash with Boost.Algorithm by renaming replace_range to replaced_range
...
[SVN r63936]
2010-07-12 22:02:46 +00:00
Neil Groves
ef000176d8
[boost][range] - Improved handling of temporary ranges in range algorithms.
...
[SVN r63902]
2010-07-12 00:08:41 +00:00
Neil Groves
aebb16feef
Boost.Range sliced adaptor is now compatible with VC10 even with using namespace boost::adaptors.
...
[SVN r61923]
2010-05-12 01:34:50 +00:00
Neil Groves
adc4b5db3b
Boost.Range brought back some of the const overloads that were over-zealously removed.
...
[SVN r61495]
2010-04-22 22:43:57 +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
b573b6c9bf
Boost.Range modification in an attempt to improve the compatibility of the adjacent_filtered and uniqued adaptors.
...
[SVN r61142]
2010-04-07 23:40:53 +00:00
Neil Groves
3a6c6c6bcd
Boost.Range fix to the skip_iterator constructor used by adjacent_filter. On the templatised constructor the m_range variable was uninitialized. This may explain some of the failures for adjacent_filtered and uniqued on Intel compilers.
...
[SVN r61066]
2010-04-05 09:54:34 +00:00
Neil Groves
690ebf406e
Boost.Range correct the adjacent_filtered adaptor to be resilient accident argument dependent lookup of boost::next
...
[SVN r61024]
2010-04-03 19:28:03 +00:00
Neil Groves
b4ae711d4e
Boost.Range minor documentation corrections and code comment fixes.
...
[SVN r61014]
2010-04-03 09:02:21 +00:00
Neil Groves
40d20d65ca
Fix compilation of Boost.Range adaptors on GCC 64-bit
...
[SVN r60904]
2010-03-28 19:44:33 +00:00