eclipse-iceoryx / eclipse-iceoryx/iceoryx

Support `uninitialized_array` with capacity zero

Open
#1,760 1 comment 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
C++
Stars
2.2k
Forks
492
Avg merge
18h 57m
Merged PRs (30d)
1

Description

## Brief feature description

Supporting an `uninitialized_array` with a capacity of zero can be beneficial for some meta-programming corner cases. The array should provide the same interface as the `uninitialized_array` with a non-zero capacity but all methods should return either `nullptr` or dereference `nullptr`.

Contributor guide

Open the contributing guide

Research direction

The issue names no implementation files or tests. Locate the existing uninitialized_array implementation and its tests, then compare the zero-capacity behavior with the non-zero interface. Done means a capacity-zero array is supported and its methods consistently return nullptr or dereference nullptr as specified.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
distributed-systems
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.