logoalt Hacker News

murderfstoday at 9:21 AM0 repliesview on HN

> 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())`