Hacker News new | ask | show | jobs
by murderfs 5 days ago
> 2. Why return an std::string for the label? The label() method should return an std::string_view

This only works if it's always the same value. This doesn't work if the label is for example, set to `std::to_string(clickCount())`