Commit Graph
552 Commits
Author SHA1 Message Date
Anton Karpov db783f5815 Fix \fn and \param tags in the searching algorithms
The four searchers share copied comment blocks, and three of them kept
names from a function they no longer describe.

boyer_moore and knuth_morris_pratt document a predicate parameter Pred p
that none of the operators or do_search overloads take. boyer_moore also
names the block \fn operator while it sits on do_search, and so does one
of the two blocks in knuth_morris_pratt, where the real third parameter
is k_corpus_length rather than p. boyer_moore_horspool documents
k_corpus_length on a do_search that takes two arguments.

The correct form is already in the same family: boyer_moore.hpp:73 and
boyer_moore_horspool.hpp:68 both name two parameters and no predicate.
2026-08-05 06:16:33 +03:00
Anton Karpov bdaee1f3f6 [doc] Fix the parameter names documented for is_permutation
The three-argument overload documents `\param last2`, but its parameters
are `first1`, `last1`, `first2` — `last2` is a local variable computed
inside the body. The four-argument overload right above it documents
`last1` correctly.

Both `\fn` lines also spell the first two parameters `first` and `last`
while the declarations use `first1` and `last1`.
2026-08-03 16:52:44 +03:00
Marshall Clow 175f443ee8 Merge pull request #130 from Lastique/feature/remove_static_assert
Remove dependencies on Boost.StaticAssert
2026-02-05 17:25:23 -08:00
Andrey Semashev fee8399772 Remove dependencies on Boost.StaticAssert.
Boost.StaticAssert has been merged into Boost.Config, so remove
the dependency.
2026-01-22 20:00:01 +03:00
Marshall Clow 0edbfe8736 Merge pull request #128 from Flamefire/test-link-update
Update Link to regression test matrix in README
2025-08-25 08:42:25 -07:00
Alexander Grund 4de0842c47 Update Link to regression test matrix in README 2025-08-25 17:26:05 +02:00
Marshall Clow e8504e45a4 Merge pull request #124 from georgthegreat/patch-1
Add missing include
2025-06-25 20:43:28 -07:00
Marshall Clow dbd2ea4617 Merge pull request #125 from jeking3/fix_minmax_timer
Fix minmax_timer build, iteration count errors, and math errors
2025-06-25 20:43:14 -07:00
James E. King III c9e890bb85 Fix minmax_timer build 2025-06-23 21:06:23 -04:00
Yuriy Chernyshov 7012619c80 Add missing include 2025-05-05 18:01:59 +02:00
Marshall Clow 6eb48dd863 Merge pull request #112 from glywk/develop
Add is_blank() string functor classification
2025-04-13 13:46:42 -07:00
Marshall Clow 1395fe720c Merge pull request #123 from ahamez/develop
Fix documentation for  trim_all and trim_fill
2025-04-13 13:44:34 -07:00
Alexandre Hamez 35a55238a7 Fix documentation for trim_all and trim_fill 2025-01-13 11:20:30 +01:00
Marshall Clow 7f07838f8b Merge pull request #121 from grafikrobot/modular
Add support for modular build structure.
2024-09-03 11:59:17 -07:00
Rene Rivera bbfcdf1322 Change Boost Test build refs to work with both old and modular test lib targets. 2024-08-08 21:45:19 -05:00
Rene Rivera 5c8e6ce9ba Add timer dependency for minmax examples. 2024-07-30 08:03:47 -05:00
Rene Rivera 0c0e84b112 Adjust self dependencies as inter-lib deps no longer apply globally. 2024-07-27 10:28:38 -05:00
Rene Rivera 81e46297b5 Move inter-lib dependencies to a project variable and into the build targets. 2024-07-23 22:34:22 -05:00
Rene Rivera 8189606c93 Update copyright dates. 2024-07-20 22:52:03 -05:00
Rene Rivera c63c45a932 Bump B2 require to 5.2 2024-06-14 11:33:55 -05:00
Rene Rivera 1213b9fd1f Add requires-b2 check to top-level build file. 2024-05-05 09:00:00 -05:00
Rene Rivera b3b2ff4d0c Remove relative references to boost-root in Jamfiles. 2024-04-13 16:18:29 -05:00
Rene Rivera 14922e71c0 Avoid global references to boost-root. 2024-04-13 11:15:55 -05:00
Rene Rivera fcf95e504b Switch to library requirements instead of source. As source puts extra source in install targets. 2024-03-29 21:12:36 -05:00
Rene Rivera 6b1d2fc5ad Make the library modular usable. 2024-03-11 08:27:02 -05:00
glywk dc14b69189 Add negative is_blank predicate tests 2023-07-27 23:15:48 +02:00
glywk 61fa3e461f Merge branch 'boostorg:develop' into develop 2023-07-27 01:17:32 +02:00
jiayuehua 3401f0398f fix range-base gather algorithm 2023-07-27 01:04:04 +02:00
Marshall Clow faac048d59 Merge pull request #116 from jiayuehua/develop
fix range-base gather algorithm
2023-06-14 09:23:41 -07:00
jiayuehua d1ecc8b0a8 fix range-base gather algorithm 2023-05-08 11:06:15 +08:00
glywk 1d9706feb7 Add is_blank classifier 2023-01-21 00:42:52 +01:00
Marshall Clow 3fe40eb999 Merge pull request #21 from MarcelRaad/fix_tests
Fix MSVC warnings in tests
2023-01-01 09:52:45 -08:00
Marcel Raad e4d4a685da Fix MSVC warnings in tests
MSVC complains about narrowing conversions and unreferences parameters.
This makes all tests almost level 4 warning clean on MSVC 14.
2022-12-30 23:02:32 +01:00
Marshall Clow 7d8a063d35 Merge pull request #110 from Morwenn/patch-1
Fix links to The Old New Thing
2022-11-07 08:28:29 -08:00
Morwenn 0666c4ce35 Fix links to The Old New Thing
Blogs moved from https://blogs.msdn.microsoft.com to https://devblogs.microsoft.com
2022-11-07 16:44:05 +01:00
Marshall Clow 6f4d74c6bb Merge pull request #108 from denzor200/denzor200-patch-1
Add forgotten `inline` for `is_palindrome`
2022-10-12 07:39:41 -07:00
Denis Mikhailov 6d58f2b9d1 Update is_palindrome.hpp 2022-10-12 19:53:19 +06:00
Marshall Clow 6a5ca4e89c Merge pull request #107 from fanquake/use_core_enable_if
refactor: use core/enable_if over utility/enable_if
2022-08-30 21:47:33 -07:00
fanquake e8ba63c4ad refactor: use core/enable_if over utility/enable_if 2022-08-30 17:28:54 +01:00
Marshall Clow 6931736390 Fix broken doc build; create new section 2022-07-01 12:43:47 -07:00
Marshall Clow 12ade334e0 Merge pull request #100 from jgopel/copy-if-while
Implement copy_if_while and copy_if_until
2022-06-28 17:46:45 -07:00
Jonathan Gopel eec00d8421 Implement copy_if_while and copy_if_until
Problem:
- There is no way to signal that a copy should proceed, selecting
  elements by a predicate until some condition is met. This is useful
  for patterns along the lines of "copy selected elements until there
  are n total elements in the output".

Solution:
- Introduce `copy_if_while()` and `copy_if_until()`.
2022-06-24 16:48:44 +00:00
Marshall Clow 055ebaa4cd Merge pull request #56 from jeking3/ci
Enhance CI, add license and readme, and fix some issues
2022-06-23 21:14:22 -07:00
Marshall Clow 00c6f1d6c1 Merge pull request #103 from jgopel/transform-inclusive-scan-docs
Add documentation to transform_inclusive_scan and transform_exclusive_scan
2022-06-05 16:48:19 -07:00
Jonathan Gopel 6b7a38f639 Add documentation to transform_exclusive_scan
Problem:
- There is no documentation for the existing functions. This will make
  it harder for users to consume these functions, espcially as new
  variants are added.

Solution:
- Add documentation.
2022-06-05 23:25:11 +00:00
Jonathan Gopel 02f436c25d Add documentation to transform_inclusive_scan
Problem:
- There is no documentation for the existing functions. This will make
  it harder for users to consume these functions, especially as new
  variants are added.

Solution:
- Add documentation.
2022-06-05 14:40:24 +00:00
Marshall Clow da8ea581eb Merge pull request #88 from apolukhin/antoshkka/deprecated-copy-warnings
Fix -Wdeprecated-copy warnings in string algorithms
2021-12-23 11:36:00 -08:00
Antony Polukhin a9cd6c353f fix -Wdeprecated-copy warnings in string algorithms 2021-10-03 17:16:12 +03:00
Marshall Clow 2a05506d52 Merge pull request #86 from libbooze/add_is_clamped_to_boost_algorithm
Add is_clamped.hpp, is_clamped_test.cpp
2021-09-25 12:25:08 -07:00
Ivan Matek 9d5ddb6a7a update authors 2021-09-13 00:28:03 +02:00