C++ string
# stirng_view
To avoid copying data which is already owned somewhere else and of which only a non-mutating view is required.
It only records the memory address of the string and the offset.
stirng_viewTo avoid copying data which is already owned somewhere else and of which only a non-mutating view is required.
It only records the memory address of the string and the offset.