Re:In C++, is empty() faster than comparing the size with zero?
by ycombobreaker on Thursday October 28, 2021 @08:05PM
(#29033669)
Reminds me of Michael Bolton from Office Space, "Why should I change, he's the one who sucks!"
std::list WAS noncounting. introducing std::counting_list was an option. I didn't follow this decision so I don't know why they opted to break the behavior (performance expectations).
std::list WAS noncounting. introducing std::counting_list was an option. I didn't follow this decision so I don't know why they opted to break the behavior (performance expectations).