Changeset aefdccd in mainline for uspace/lib/cpp/include
- Timestamp:
- 2025-10-20T06:14:54Z (3 months ago)
- Parents:
- adbd7e1 (diff), 3e41cc4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - git-author:
- boba-buba <120932204+boba-buba@…> (2025-10-20 06:14:54)
- git-committer:
- GitHub <noreply@…> (2025-10-20 06:14:54)
- Location:
- uspace/lib/cpp/include/__bits
- Files:
-
- 4 edited
-
adt/bitset.hpp (modified) (2 diffs)
-
adt/list.hpp (modified) (3 diffs)
-
adt/list_node.hpp (modified) (2 diffs)
-
insert_iterator.hpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/cpp/include/__bits/adt/bitset.hpp
radbd7e1 raefdccd 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; -
uspace/lib/cpp/include/__bits/adt/list.hpp
radbd7e1 raefdccd 1 1 /* 2 * Copyright (c) 2025 Jiri Svoboda 2 3 * Copyright (c) 2019 Jaroslav Jindrak 3 4 * All rights reserved. … … 80 81 } 81 82 83 pointer operator->() const 84 { 85 return ¤t_->value; 86 } 87 82 88 list_const_iterator& operator++() 83 89 { … … 209 215 return current_->value; 210 216 } 217 218 pointer operator->() const 219 { 220 return ¤t_->value; 221 } 211 222 212 223 list_iterator& operator++() -
uspace/lib/cpp/include/__bits/adt/list_node.hpp
radbd7e1 raefdccd 1 1 /* 2 * Copyright (c) 2025 Jiri Svoboda 2 3 * Copyright (c) 2018 Jaroslav Jindrak 3 4 * All rights reserved. … … 29 30 #ifndef LIBCPP_BITS_ADT_LIST_NODE 30 31 #define LIBCPP_BITS_ADT_LIST_NODE 32 33 #include <utility> 31 34 32 35 namespace std::aux -
uspace/lib/cpp/include/__bits/insert_iterator.hpp
radbd7e1 raefdccd 1 1 /* 2 * Copyright (c) 2025 Jiri Svoboda 2 3 * Copyright (c) 2018 Jaroslav Jindrak 3 4 * All rights reserved. … … 33 34 { 34 35 struct forward_iterator_tag; 36 struct input_iterator_tag; 35 37 } 36 38
Note:
See TracChangeset
for help on using the changeset viewer.
