Re:Folly: An open-source C++ library developed and used at F...
by alcover on Friday January 07, 2022 @02:21PM
(#29843507)
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.
[ Parent
| on HN ]
Re:Folly: An open-source C++ library developed and used at F...
by guavaNinja on Friday January 07, 2022 @03:18PM
(#29844197)
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