Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
fooker
on March 15, 2018
|
parent
|
context
|
favorite
| on:
A Usable C++ Dialect That Is Safe Against Memory C...
>AFAIK there isn't a way to create an std::string out of that without a copy.
You can use std::string_view, Google's StringPiece or llvm::StringRef.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
You can use std::string_view, Google's StringPiece or llvm::StringRef.