iceoryx
iceoryx copied to clipboard
Replace cxx::not_null with reference wherever possible
Brief feature description
cxx::not_null
and a reference are making sure that not some variation of nullptr
is provided as argument but cxx::not_null
has some implementation and performance overhead.
Therefore, we should use cxx::not_null
only for void pointer variations.