Use STL string objects like std::string/std::wstring as a safe bridge.| Giovanni Dicanio's Blog
Passing STL std::[w]string objects at Win32 API boundaries is common for C++ code that calls into Win32 C-interface APIs. When is it safe to pass *string views* instead?| Giovanni Dicanio's Blog
std::string_view can optimize both performance and code readability in code sections which handle strings. However it can also lead to UB and to memory issues if used incorrectly.| C++ Senioreas
C++ Riddle – involves shared_ptr, string_view and some metaprogramming.| C++ Senioreas