-
Notifications
You must be signed in to change notification settings - Fork 403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convenience functions for cxx::string
#1431
Labels
enhancement
New feature
Comments
Nice. But is |
21 tasks
22 tasks
lucabart97
added a commit
to lucabart97/iceoryx
that referenced
this issue
Nov 18, 2023
…access to iox::string Introduce two methods to directly access the string pointer. This function enables checking the string's size and capacity after each call, minimizing the risk of encountering invalid strings. The first one auto compute the string size, the second one set the size passed by the user checking if the terminator position is fine. Signed-off-by: Luca Bartoli <[email protected]>
lucabart97
added a commit
to lucabart97/iceoryx
that referenced
this issue
Nov 19, 2023
Implement a method that provides direct access to the string's underlying pointer. This allows data to be written directly to the string, eliminating the need for copies. The string's length is checked on each call to ensure the null terminator is in the correct position. Signed-off-by: Luca Bartoli <[email protected]>
lucabart97
added a commit
to lucabart97/iceoryx
that referenced
this issue
Nov 19, 2023
Implement a method that provides direct access to the string's underlying pointer. This allows data to be written directly to the string, eliminating the need for copies. The string's length is checked on each call to ensure the null terminator is in the correct position. Signed-off-by: Luca Bartoli <[email protected]>
lucabart97
added a commit
to lucabart97/iceoryx
that referenced
this issue
Nov 19, 2023
Implement a method that provides direct access to the string's underlying pointer. This allows data to be written directly to the string, eliminating the need for copies. The string's length is checked on each call to ensure the null terminator is in the correct position. Signed-off-by: Luca Bartoli <[email protected]>
lucabart97
added a commit
to lucabart97/iceoryx
that referenced
this issue
Nov 19, 2023
Implement a method that provides direct access to the string's underlying pointer. This allows data to be written directly to the string, eliminating the need for copies. The string's length is checked on each call to ensure the null terminator is in the correct position. Signed-off-by: Luca Bartoli <[email protected]>
lucabart97
added a commit
to lucabart97/iceoryx
that referenced
this issue
Nov 19, 2023
Implement a method that provides direct access to the string's underlying pointer. This allows data to be written directly to the string, eliminating the need for copies. The string's length is checked on each call to ensure the null terminator is in the correct position. Signed-off-by: Luca Bartoli <[email protected]>
elBoberido
added a commit
that referenced
this issue
Nov 20, 2023
…tring iox-#1431: Add unsafe_raw_access to iox::string
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Brief feature description
This is an issue to collect convenience functions for the
cxx::string
which would be nice to have but are not urgently needed.Detailed information
iox::string
with count copies of a characteriox::string
The text was updated successfully, but these errors were encountered: