MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/lvhvgz/simple_c_initialization_flowchart/gpg0kvj/?context=3
r/cpp • u/konanTheBarbar • Mar 01 '21
65 comments sorted by
View all comments
3
Never understood what's the point of explicit initializations not in arguments. How
auto s = std::string{"view"sv};
or
std::string s{"view"sv};
are supposed to help, where
std::string s = "view"sv;
couldn't?
3
u/CenterOfMultiverse Mar 02 '21
Never understood what's the point of explicit initializations not in arguments. How
or
are supposed to help, where
couldn't?