4 ms·
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 i
by coralkashri 4y ago
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.