Skip to content

Add implementation of std::span to iceoryx_hoofs #180

Closed
@orecham

Description

Brief feature description

The std::span STL feature from C++20 will be useful for working with byte arrays in iceoryx.

Detailed information

See:

One use-case is for passing around pointers to byte arrays to a function.
Usually, some checks need to be done in the function to ensure the array is valid (i.e. nullptr check, size validation).
With std::span, all of this logic is done automatically and the function doesn't need to reimplement it.

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions