eclipse-iceoryx / eclipse-iceoryx/iceoryx

Create `iox_type_cast`

Open
#1,498 1 comment 0 reactions 1 assignee Claimed by @mossmaurice View on GitHub
AUTOSAR clang-tidy
Dominant language
C++
Stars
2.2k
Forks
492
Avg merge
18h 57m
Merged PRs (30d)
1

Description

## Brief feature description

`reinterpret_cast`s should only be used sparsely, hence introduce a helper function which cast pointers via `void*` to the appropriate `T*`

## Detailed information

* [ ] `iox_type_cast` is available in helplets
* [ ] `iox_type_cast` is used at appropriate places

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.