Example: Working with Different String APIs
Does string_view offer usage with APIs like CString and QString? Let's find out.
We'll cover the following...
​An interesting use case for string_view
is when you use it in code that works with different string implementations.
For example, you might have CString
from MFC, const char*
...