523 Commits

Author SHA1 Message Date
ivanpanch
1c82de1c51 Fix a typo (“slighly”) in a documentation comment 2025-10-14 19:24:46 +02:00
ivanpanch
b0bc76bfc8 Remove a spurious comma in a documentation comment 2025-10-14 19:24:46 +02:00
Gennaro Prota
b429e550e4 Avoid an interrupted sentence in the \brief documentation of the stream inserter 2025-10-14 19:24:46 +02:00
Gennaro Prota
aa7105f209 Use the same parameter name for the two overloads of at()
Reason: Consistency.

This incidentally also fixes the documentation of the non-const
overload.
2025-10-14 19:24:46 +02:00
Gennaro Prota
ac485ff3d2 Add a missing const qualifier 2025-10-14 19:24:46 +02:00
Gennaro Prota
ac2a5a65b4 Fix an error in the documentation of resize() 2025-10-14 19:24:46 +02:00
Gennaro Prota
80da0cdd28 Let MrDocs compile the code as C++17
Reason: Getting the noexcept specifications introduced in "Reflect some
noexcept specifications of std::vector in dynamic_bitset".
2025-10-14 19:24:46 +02:00
Gennaro Prota
431df92f41 Work around some glitches from the MrDocs parser 2025-10-14 19:24:46 +02:00
Gennaro Prota
6f1b27797d Document our overload of hash_value() 2025-10-14 19:24:46 +02:00
Gennaro Prota
acc7f2a458 Fix two typos in the documentation comments 2025-10-14 19:24:46 +02:00
Gennaro Prota
8547f23e2d Document many function parameters and some return values
For some of these, we were getting "undocumented parameter" warnings
from MrDocs. For others, MrDocs was automatically adding some
documentation, but that was inadequate for DynamicBitset.
2025-10-14 19:24:46 +02:00
Gennaro Prota
fa4f504a01 Run the Antora workflow on macOS 15, in GitHub Actions 2025-10-14 19:24:46 +02:00
Gennaro Prota
e848c84da3 Use the same parameter names in the two declarations of boost::swap()
Reason: Fixing an error from MSVC 14.3 about different noexcept
specifications between the two declarations.
2025-10-14 19:24:46 +02:00
Gennaro Prota
a7c9175201 Simplify a redundant assert condition 2025-10-14 19:24:46 +02:00
Gennaro Prota
74d1e42a3f Reflect some noexcept specifications of std::vector in dynamic_bitset
This closes issue #85.
2025-10-14 19:24:46 +02:00
Gennaro Prota
41c20338ef Always use braces with for-statements, as well
Reason: Consistency and safety.

See: "Always use braces with if-statements".
2025-10-14 19:24:46 +02:00
Gennaro Prota
882a352a8e Denote short and long consistently 2025-10-14 19:24:46 +02:00
Gennaro Prota
b2712c0112 Rename dynamic_bitset.tpp to "dynamic_bitset.ipp"
Reason: Having it copied at installation time.
2025-10-14 19:24:46 +02:00
Gennaro Prota
d63c03ceb2 Leave inline to the compiler 2025-10-14 19:24:46 +02:00
Gennaro Prota
f47536a712 Set badbit if an exception is thrown during output
Reason: This is what the standard formatted output functions do.
2025-10-14 19:24:46 +02:00
Gennaro Prota
abff9a45a1 Remove two erroneous references to the standard 2025-10-14 19:24:46 +02:00
Gennaro Prota
31c0804722 Move a few includes to where they are actually used 2025-10-14 19:24:46 +02:00
Gennaro Prota
1105d6e3c9 Always use braces with if-statements
Reason: Consistency and safety.
2025-10-14 19:24:46 +02:00
Gennaro Prota
b9ec4cdfae Fix a typo in the documentation of operator>>=() 2025-10-14 19:24:46 +02:00
Gennaro Prota
a3288d871b 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-10-14 19:24:46 +02:00
Gennaro Prota
5f2c3cc0dd Add two missing spaces in a documentation comment 2025-10-14 19:24:46 +02:00
Gennaro Prota
b6cc8844ee Also exclude bit_appender from the MrDocs documentation 2025-10-14 19:24:46 +02:00
Gennaro Prota
255295adf2 Remove a pair of unneeded parentheses 2025-10-14 19:24:46 +02:00
Sébastien Loriot
a8fcf950af qualify full path 2025-10-14 19:24:46 +02:00
Gennaro Prota
23ac016871 Fix nav.adoc 2025-10-14 19:24:46 +02:00
Gennaro Prota
737e95c053 Add a few links to the reference in the documentation index 2025-10-14 19:24:46 +02:00
Gennaro Prota
0936305e82 Add doc/package.json and doc/package-lock.json 2025-10-14 19:24:46 +02:00
Gennaro Prota
e9f99a4446 Exclude old, failing versions of Clang and GCC from CI 2025-10-14 19:24:46 +02:00
Gennaro Prota
14c1b22a4c Also build the documentation in the CI workflow 2025-10-14 19:24:46 +02:00
James E. King III
688fa7c451 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-10-14 19:24:46 +02:00
Gennaro Prota
9403b3bf7e Rethrow any exception coming from the underlying vector, in the stream extractor 2025-10-14 19:24:46 +02:00
Gennaro Prota
802278fec2 Delete unary operator&() for dynamic_bitset::reference
Reason: That's better than declaring it as private and leaving it
undefined.
2025-10-14 19:24:46 +02:00
Gennaro Prota
d96d00ef08 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-10-14 19:24:46 +02:00
Gennaro Prota
7c8b554850 Add a missing blank line 2025-10-14 19:24:46 +02:00
Gennaro Prota
0fce729fe1 Remove an unnecessary constructor definition 2025-10-14 19:24:46 +02:00
Gennaro Prota
5da2852728 Remove an unnecessary implementation detail 2025-10-14 19:24:46 +02:00
Gennaro Prota
2ef8b15211 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-10-14 19:24:46 +02:00
Gennaro Prota
d839f23916 Make scoped_temp_file non-copyable, as it should 2025-10-14 19:24:46 +02:00
Gennaro Prota
963cc09f3c Remove a nonsensical typedef 2025-10-14 19:24:46 +02:00
Gennaro Prota
c203591add Don't use lowerCamelCase for template type parameters 2025-10-14 19:24:45 +02:00
Gennaro Prota
aebe027628 Copy edit a comment 2025-10-14 19:24:45 +02:00
Gennaro Prota
a65fe4dd9e Remove a few unneeded permission notices 2025-10-14 19:24:45 +02:00
Gennaro Prota
825260e482 Port the documentation to MrDocs and Antora 2025-10-14 19:24:45 +02:00
Gennaro Prota
12acc40123 Reformat all the C++ code (with ClangFormat) 2025-10-14 19:24:45 +02:00
Gennaro Prota
1092cdbfe6 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-10-14 19:24:45 +02:00