Skip to content

Add cstring unittests and fix cstring<N>::back#72

Open
joro75 wants to merge 2 commits intoNeargye:masterfrom
joro75:cstring_back_fix
Open

Add cstring unittests and fix cstring<N>::back#72
joro75 wants to merge 2 commits intoNeargye:masterfrom
joro75:cstring_back_fix

Conversation

@joro75
Copy link

@joro75 joro75 commented Feb 18, 2026

The cstring<N>::back() previously returned chars_[N] which is the terminating '\0', while it should return chars_[N - 1].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

back always returns '\0'

1 participant

Comments