Skip to content

Commit 4b0ac58

Browse files
committed
Fix an error in the documentation of resize()
1 parent b03ba5e commit 4b0ac58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/boost/dynamic_bitset/dynamic_bitset.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ class dynamic_bitset
473473
//! Changes the number of bits of the bitset to `num_bits`.
474474
//!
475475
//! If `num_bits >= size()` then the bits in the range `[0,
476-
//! size())` remain the same, and the bits in `[size(), num_bits]`
476+
//! size())` remain the same, and the bits in `[size(), num_bits)`
477477
//! are all set to `value`. If `num_bits < size()` then the bits
478478
//! in the range `[0, num_bits)` stay the same (and the
479479
//! remaining bits are discarded).

0 commit comments

Comments
 (0)