memcpy into shared_ptr doesn't fully copy?
The attached Repl should copy the text "Hello, world!" into an instance of a SharedString, and then print it.
It only prints "Hello, w" though... and I can't tell why.
(Excuse the code formatting, I'm on Repl mobile)
@DynamicSquid Depends, as a template argument or call argument?
Overload 2, C++20.
I'm still looking for how this was done back in C++17 :(