Commit Graph

60 Commits

Author SHA1 Message Date
Glen Fernandes
cecebeea51
Merge pull request #77 from MBoldyrev/MBoldyrev-doc-fix-var-name
fixed variable name in docs
2019-04-02 08:40:20 -04:00
Eelis
4ad147a220
Fix function name in remove_if documentation 2019-03-08 17:59:18 +01:00
Mikhail Boldyrev
eced0cfac8
fixed variable name in docs 2018-10-14 19:24:57 +03:00
Tim Blechmann
bb43887430 irange: introduce one-parameter variant of irange
this simplifies the use of boost::irange, as boost::irange( 0, foo );
may compile or not depending on the platform-specific integer type of
foo, requiring an explicit cast of 0 to decltype(foo).
2016-01-17 11:40:55 +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
nekko1119
9ca1622dd0 Fix parameters in replaced adaptor document 2015-04-22 02:48:05 +09:00
Neil Groves
4a80ccd50d Ticket 10988 - Filtered adaptor should only require SinglePassRange. 2015-02-01 19:05:58 +00:00
insideoutclub
51b8115fc1 Update algorithms.qbk
Fixed the spelling of "old-fashioned".
2014-09-05 10:34:21 -07:00
Neil Groves
7fb879a283 Hotfix to add back advance_begin and advance_end. 2014-08-04 17:53:14 +01: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
5918e7e63e changed the separated function to become the new formatted adaptor. 2014-06-05 01:00:13 +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
Adam Romanek
ac99249c89 Update any_range.qbk
Fix typo in the name of forward traversal tag.
2014-05-07 09:39:00 +02:00
Neil Groves
5f2560f753 Ticket 9851 - adaptors should perform concept check assertions. 2014-05-06 23:37:21 +01:00
Kohei Takahashi
4cdf15a0f6 Fix return type in metafunction document
Signed-off-by: Kohei Takahashi <flast@flast.jp>
2014-05-06 01:12:53 +09:00
Kohei Takahashi
117bcd83d6 Fix document typo
Signed-off-by: Kohei Takahashi <flast@flast.jp>
2014-05-02 02:12:06 +09: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
be85e295e8 updated docs for hash_value iterator_range support. 2014-03-08 22:38:25 +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
7cd8b9ec24 updated algorithms.qbk to explicitly mention range_return_value so that this can be searched for. 2014-03-08 21:28:52 +00:00
Neil Groves
3ed0626756 ticket 8028 - combine reimplemented and now documented. 2014-03-08 20:52:10 +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
09cc98f60d drop_front and drop_back included in synopsis. 2014-03-04 16:19:51 +00:00
Neil Groves
b84385cfce trac 8803 - size(const Rng&) returns size_type. It also no longer requires random access. 2014-03-04 12:54:07 +00:00
Neil Groves
c9a04a1a9a trac 7842 - documentation inaccuracies on intro page for range adaptors. 2014-03-03 18:58:33 +00:00
Neil Groves
ef388661b3 trac 8927 - added comment about std::partition requirements pre C++11. 2014-03-03 18:36:01 +00:00
Neil Groves
b3180d3a5a trac 9514 - adjacent_filtered requires a ForwardRange. 2014-03-03 18:30:13 +00:00
Nathan Ridge
4971da58ee [range] fixed #7926 (missing prototypes for lower_bound and upper_bound in docs)
[SVN r82621]
2013-01-26 03:59:06 +00:00
Nathan Ridge
cbd915a988 [range] fixed #5314 (small mistakes in range adaptor examples)
[SVN r82346]
2013-01-04 01:18:36 +00:00
Nathan Ridge
fc88bc06ad [range] fixed #7843 (missing example in docs for 'tokenized' range adaptor)
[SVN r82345]
2013-01-04 00:58:17 +00:00
Nathan Ridge
4a44cc75c9 [range] refactor use of examples in documentation to avoid redundancy
[SVN r82344]
2013-01-03 23:44:30 +00:00
Nathan Ridge
86b169dab3 [range] fixed #5440 (typo in documentation for 'inner_product' algorithm)
[SVN r82327]
2013-01-03 01:06:39 +00:00
Nathan Ridge
36843ccdba [range] docs for writing adaptors: removed clarification added in r82315 (it was redundant); fixed typos that messed up numbering
[SVN r82326]
2013-01-03 01:01:55 +00:00
Nathan Ridge
17e4f7024d [range] fixed #5160 (typo in replace_copy_if() example on intro page for range adaptors)
[SVN r82325]
2013-01-02 23:41:58 +00:00
Nathan Ridge
3379affd4a [range] fixed #7585 (typo in documentation for 'indexed' adaptor)
[SVN r82316]
2013-01-02 08:09:46 +00:00
Nathan Ridge
958b4fbf6e [range] small clarification in documentation for how to write a range adaptor
[SVN r82315]
2013-01-02 08:05:30 +00:00
Nathan Ridge
61979ff421 [range] fixed #6212 (missing step in documentation for how to write a range adaptor)
[SVN r82314]
2013-01-02 07:51:21 +00:00
Nathan Ridge
1d51c3afb2 [range] fixed #5775 (typo in the documentation of pop_heap())
[SVN r82313]
2013-01-02 05:27:02 +00:00
Nathan Ridge
bf4ca510ea [range] fixed some doc typos (patch by Michel Morin)
[SVN r81889]
2012-12-13 07:09:11 +00:00
Neil Groves
11238e4c19 [boost][range] - Trac 5971 - size() should return an unsigned type.
[SVN r77990]
2012-04-15 11:52:01 +00:00
Neil Groves
91428c2110 [boost][range] - Ticket 5530 - adaptor example fails to compile. This change adds tests for all of the .cpp example files for the range adaptors, and fixes a few small issues with the examples shown by the new tests.
[SVN r72104]
2011-05-22 21:03:01 +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
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
9cf925c079 [boost][range] - Added has_range_iterator and has_range_const_iterator. Trac ticket 4296.
[SVN r67433]
2010-12-23 18:10:09 +00:00
Neil Groves
48fc316156 [boost][range] - Added documentation for the join() function. This is to resolve Trac ticket 4740.
[SVN r67428]
2010-12-23 10:56:23 +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
612cec17bb [boost][range] - Update to relax preconditions for the strided adaptor, and numerous fixes to inspection report issues.
[SVN r67418]
2010-12-22 22:31:33 +00:00
Neil Groves
7e065ca313 Boost.Range corrected dodgy link in the Uniqued adaptor documentation.
[SVN r61661]
2010-04-28 19:16:28 +00:00
Neil Groves
1d5fb47238 Boost.Range documentation iteration.
[SVN r61660]
2010-04-28 19:07:47 +00:00