Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
alcover
· 4y ago · 0 comments
Thank you. You don't seem to provide a
c_str()
equivalent (a method that gives a pointer to or copies out a C-string) or views ? Sorry if I missed them.
Comments
[–]
guavaNinja
4y ago
We hate getters/setters. There is `using Str = Buf<char>` if you looked into Buf you will find ptr and count and cap. You are looking for ptr