Login
Roast topics
Find topics
Find it!
From:
C++ Senioreas
(Uncensored)
subscribe
The View of The String – C++ Senioreas
https://cppsenioreas.wordpress.com/2023/04/24/the-view-of-the-string/
links
backlinks
Tagged with:
c++
advanced
string
behind the scenes
performances
intermediate
memory management
codeproject
string view
code readability
Roast topics
Find topics
Roast it!
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.