Changeset aefdccd in mainline for uspace/lib/cpp/include


Ignore:
Timestamp:
2025-10-20T06:14:54Z (3 months ago)
Author:
GitHub <noreply@…>
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)
Message:

Merge branch 'HelenOS:master' into ticket/packet-capture

Location:
uspace/lib/cpp/include/__bits
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/cpp/include/__bits/adt/bitset.hpp

    radbd7e1 raefdccd  
    4242    class bitset
    4343    {
     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
    4453        public:
    4554            class reference
     
    365374
    366375        private:
    367             /**
    368              * While this might be a bit more wasteful
    369              * than using unsigned or unsigned long,
    370              * it will make parts of out code easier
    371              * to read.
    372              */
    373             using data_type = unsigned long long;
    374 
    375376            static constexpr size_t bits_in_data_type_ = sizeof(data_type) * 8;
    376377            static constexpr size_t data_size_ = N / bits_in_data_type_ + 1;
  • uspace/lib/cpp/include/__bits/adt/list.hpp

    radbd7e1 raefdccd  
    11/*
     2 * Copyright (c) 2025 Jiri Svoboda
    23 * Copyright (c) 2019 Jaroslav Jindrak
    34 * All rights reserved.
     
    8081                }
    8182
     83                pointer operator->() const
     84                {
     85                    return &current_->value;
     86                }
     87
    8288                list_const_iterator& operator++()
    8389                {
     
    209215                    return current_->value;
    210216                }
     217
     218                pointer operator->() const
     219                {
     220                    return &current_->value;
     221                }
    211222
    212223                list_iterator& operator++()
  • uspace/lib/cpp/include/__bits/adt/list_node.hpp

    radbd7e1 raefdccd  
    11/*
     2 * Copyright (c) 2025 Jiri Svoboda
    23 * Copyright (c) 2018 Jaroslav Jindrak
    34 * All rights reserved.
     
    2930#ifndef LIBCPP_BITS_ADT_LIST_NODE
    3031#define LIBCPP_BITS_ADT_LIST_NODE
     32
     33#include <utility>
    3134
    3235namespace std::aux
  • uspace/lib/cpp/include/__bits/insert_iterator.hpp

    radbd7e1 raefdccd  
    11/*
     2 * Copyright (c) 2025 Jiri Svoboda
    23 * Copyright (c) 2018 Jaroslav Jindrak
    34 * All rights reserved.
     
    3334{
    3435    struct forward_iterator_tag;
     36    struct input_iterator_tag;
    3537}
    3638
Note: See TracChangeset for help on using the changeset viewer.