Closed elfenpiff closed 6 months ago
@elBoberido I think I would close the issue without fixing it, since such a type would have severe drawbacks.
copy
& clone
the sole purpose, modify once and never update can be easily circumventedWe can implement clone by hand, but loosing copy would be a pity.
@elfenpiff fine with me
(Code) Example Of Cumbersome API
Fixed size containers often have a capacity member variable that is never changed during their lifetime. A custom strong type that can be only set once with
new
and can be read viaDeref
would reflect this in the API.Improvement Suggestion
Capacity
type iniceoryx2-bb-elementary
Capacity
type in every RelocatableContainer, Container