Changeset a36c4aa in mainline for uspace/lib/cpp/include
- Timestamp:
- 2025-08-12T18:03:48Z (4 months ago)
- Branches:
- master
- Children:
- 113fb4f
- Parents:
- 2e9f284
- File:
-
- 1 edited
-
uspace/lib/cpp/include/__bits/adt/bitset.hpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/cpp/include/__bits/adt/bitset.hpp
r2e9f284 ra36c4aa 42 42 class bitset 43 43 { 44 private: 45 /** 46 * While this might be a bit more wasteful 47 * than using unsigned or unsigned long, 48 * it will make parts of out code easier 49 * to read. 50 */ 51 using data_type = unsigned long long; 52 44 53 public: 45 54 class reference … … 365 374 366 375 private: 367 /**368 * While this might be a bit more wasteful369 * than using unsigned or unsigned long,370 * it will make parts of out code easier371 * to read.372 */373 using data_type = unsigned long long;374 375 376 static constexpr size_t bits_in_data_type_ = sizeof(data_type) * 8; 376 377 static constexpr size_t data_size_ = N / bits_in_data_type_ + 1;
Note:
See TracChangeset
for help on using the changeset viewer.
