HOME | DD

hackingcpp — String View

#cheatsheet #cplusplus #cpp #interface #programming
Published: 2021-12-21 13:27:29 +0000 UTC; Views: 444; Favourites: 0; Downloads: 2
Redirect to original
Description Example-based overview of std::string_view's interface. string_view was introduced with C++17 and represents a lightweight, non-owning, read-only view of a contiguous character range. Its main purpose is to make interfaces taking string-like parameters more versatile while preventing unneccessary temporary copies. 
Related content
Comments: 0