Skip to content

Add size_bytes() method to span#393

Open
mariuswbr wants to merge 1 commit into
eclipse-score:mainfrom
etas-contrib:add_size_bytes_method_to_span
Open

Add size_bytes() method to span#393
mariuswbr wants to merge 1 commit into
eclipse-score:mainfrom
etas-contrib:add_size_bytes_method_to_span

Conversation

@mariuswbr

Copy link
Copy Markdown
Contributor

Add size_bytes() method support for span to be compliant with std::span (C++20).

Comment on lines +478 to +479
/// @testmethods TM_REQUIREMENT
/// @requirement CB-#9338069

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately I really don't know how this works in baselibs.
I have seen this was added to all test cases. Let me know if I need to adjust something.
Thanks!

@Ehrja Ehrja Jul 20, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently, the mentioned requirement-numbers are still referring to a BMW requirements-server. This will hopefully change in the mid-future 😅

Let me know if I need to adjust something.

It should be fine

@mariuswbr

Copy link
Copy Markdown
Contributor Author

@4og The failing pipeline asks me to contact you :).
I was trying to add the size_bytes() method to span to be compliant with std::span:
https://en.cppreference.com/cpp/container/span/size_bytes

Is that acceptable?

@github-actions

Copy link
Copy Markdown

The created documentation from the pull request is available at: docu-html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

2 participants