Gennaro Prota
66690c41d1
Merge branch 'develop' into experiments/antora
2025-07-22 16:29:42 +02:00
Gennaro Prota
e475e3052f
Fix a typo in the documentation of operator>>=()
2025-07-22 16:28:58 +02:00
Gennaro Prota
7f2d9b405f
Shorten some brief descriptions in the docs
...
This simply separates the first sentence from the rest with a blank
line, so that MrDocs takes just the first sentence as brief description.
2025-07-22 16:27:19 +02:00
Gennaro Prota
472fcfe7f8
Add two missing spaces in a documentation comment
2025-07-22 16:17:47 +02:00
Gennaro Prota
224c1cf590
Merge branch 'develop' into experiments/antora
2025-07-22 12:40:31 +02:00
Gennaro Prota
6c69d92398
Also exclude bit_appender from the MrDocs documentation
2025-07-22 12:39:28 +02:00
Gennaro Prota
91b957bbbb
Remove a pair of unneeded parentheses
2025-07-22 12:32:04 +02:00
Gennaro Prota
ad9b1a439e
Also trigger CI for experiments/**
2025-07-21 18:42:12 +02:00
Gennaro Prota
06d510fca2
Set version for antora-cpp-reference-extension
2025-07-21 18:38:40 +02:00
Gennaro Prota
f01dcbe60b
Fix nav.adoc
2025-07-18 19:30:56 +02:00
Gennaro Prota
757939f082
Add a few links to the reference in the documentation index
2025-07-18 19:29:58 +02:00
Gennaro Prota
4fee7e5a77
Add doc/package.json and doc/package-lock.json
2025-07-17 10:46:06 +02:00
Gennaro Prota
31504199cd
Exclude old, failing versions of Clang and GCC from CI
2025-07-17 10:45:57 +02:00
Gennaro Prota
2357cd92b7
Also build the documentation in the CI workflow
2025-07-16 16:53:16 +02:00
James E. King III
a5398355ac
Implement Boost.CI 2025.07 reusable workflow
...
This moves the majority of build logic into Boost.CI with configuration
options for consumers. By moving build logic into Boost.CI we can fix
build issues faster for everyone.
2025-07-14 19:30:32 +02:00
Gennaro Prota
43ba4c9ca4
Rethrow any exception coming from the underlying vector, in the stream extractor
2025-07-14 19:30:32 +02:00
Gennaro Prota
e9d0f7ff0e
Delete unary operator&() for dynamic_bitset::reference
...
Reason: That's better than declaring it as private and leaving it
undefined.
2025-07-14 19:30:32 +02:00
Gennaro Prota
8da24d5377
Don't add a semicolon after "BOOST_RETHROW"
...
Reason: When exceptions are enabled, the semicolon is already included
in the macro expansion, and the resulting second semicolon (empty
statement) may give compiler warnings. Note how we added braces, for
when exceptions are disabled and the macro has an empty replacement
list.
2025-07-14 19:30:31 +02:00
Gennaro Prota
71f8a37dc0
Add a missing blank line
2025-07-14 19:30:31 +02:00
Gennaro Prota
32dca8ac20
Remove an unnecessary constructor definition
2025-07-14 19:30:31 +02:00
Gennaro Prota
f684596b1d
Remove an unnecessary implementation detail
2025-07-14 19:30:31 +02:00
Gennaro Prota
da2768d346
Add a definition for the copy constructor of dynamic_bitset::reference
...
Reason: Implicit definition is deprecated, because the class has a
user-declared copy assignment operator.
This closes issue #62 .
2025-07-14 19:30:31 +02:00
Gennaro Prota
2928206d63
Make scoped_temp_file non-copyable, as it should
2025-07-14 19:30:31 +02:00
Gennaro Prota
c6f94b52ca
Remove a nonsensical typedef
2025-07-14 19:30:31 +02:00
Gennaro Prota
367790225b
Don't use lowerCamelCase for template type parameters
2025-07-14 19:30:31 +02:00
Gennaro Prota
fea6e4eecb
Copy edit a comment
2025-07-14 19:30:31 +02:00
Gennaro Prota
26c9b60e36
Remove a few unneeded permission notices
2025-07-14 19:30:31 +02:00
Gennaro Prota
2675e65ce8
Port the documentation to MrDocs and Antora
2025-07-14 19:30:25 +02:00
Gennaro Prota
04b105c78f
Reformat all the C++ code (with ClangFormat)
2025-07-07 15:34:23 +02:00
Gennaro Prota
d0f0182b3c
Add a ClangFormat configuration file
...
This specifies a more readable style with respect to the existing one.
I'll reformat the code with the next commit.
2025-07-07 15:34:23 +02:00
Gennaro Prota
db21469d77
Move all the function definitions to a separate file
...
Reason: Improving readability of the class template declaration.
This separation was not originally possible due to limitations in older
compilers (see the removed comment at the start of the definition of
dynamic_bitset), but is now feasible.
2025-07-07 15:34:23 +02:00
Gennaro Prota
0ae6dd4e0e
Leverage core::popcount() in the implementation of count()
...
Reason: This significantly simplifies the code, replacing a previous
complex and error-prone implementation.
2025-07-07 15:34:23 +02:00
Gennaro Prota
6477f68fb3
Fix some inconsistent placement of const qualifiers
2025-07-07 15:34:23 +02:00
Gennaro Prota
a35c951953
Assert on the precondition to pop_back()
2025-07-07 15:34:23 +02:00
Gennaro Prota
499916234e
Make the swap() functions noexcept
2025-07-07 15:34:23 +02:00
Gennaro Prota
459df8c817
Remove a misleading comment
2025-07-07 15:34:23 +02:00
Gennaro Prota
0a95b0295a
Remove a redundant assertion
...
We already assert that the two bitsets have the same size and, since
they have the same block_type, that implies they have the same number of
blocks.
2025-07-07 15:34:23 +02:00
Gennaro Prota
f33ec5bda7
Remove a top-level const qualifier for a function parameter
2025-07-07 15:34:15 +02:00
Gennaro Prota
ad57ed3f34
Add a missing const qualifier in a test function
2025-07-07 15:34:03 +02:00
Gennaro Prota
3d4661e2a8
Use BOOST_TEST(), not assert(), for test cases
2025-07-07 15:33:55 +02:00
Gennaro Prota
d4edc53c02
Remove other workarounds for obsolete compilers
2025-07-07 15:33:46 +02:00
Gennaro Prota
4f25dff8b2
Don't misuse the term "precondition" in the documentation
...
If you guarantee some behavior, e.g. throwing an exception, it's not
really a precondition.
2025-07-07 15:33:36 +02:00
Gennaro Prota
bb4ac379f9
Clean up detail/lowest_bit.hpp (mostly, reformat)
2025-07-07 15:33:26 +02:00
Gennaro Prota
060efe9166
Remove a naive comment
...
If you are asserting on it at the beginning of the function, it's
clearly a precondition :-).
2025-07-07 15:33:17 +02:00
Gennaro Prota
8d2b37a8f8
Replace the references to the SGI documentation
...
This commit just removes all the links to the SGI documentation and
replaces most of them with links to cppreference.com. The SGI docs were
likely used by Jeremy Siek at the time because they were a good and
clear reference. But we have cppreference.com now, which is much better.
And, in the event it disappears, we can still revert this commit.
Some links have simply been removed (e.g. those to the documentation of
basic_string, which really didn't seem opportune).
2025-07-07 15:33:10 +02:00
Gennaro Prota
cc2e543137
Remove inconsistent uses of title case
2025-07-07 15:33:01 +02:00
Gennaro Prota
7ee158b972
Remove trailing whitespace
2025-07-07 15:32:51 +02:00
Gennaro Prota
4339073d77
Remove an unneeded #include directive in a test file
2025-07-07 15:32:43 +02:00
Gennaro Prota
3bf84c9233
Remove a tab character in a test file
2025-07-07 15:32:32 +02:00
Gennaro Prota
702192bf52
Remove a superfluous #include directive
2025-07-07 15:32:24 +02:00