News for hackers. Stuff that matters.
Re:21st Century C++ by tialaramex on Sunday February 09, 2025 @04:54PM (#42994457)
I'm not familiar with vector::reserve_at_least but assuming that's an API which reserves capacity without destroying the amortized constant time of the exponential growth built in to the type, yes, that.
Re:21st Century C++ by amluto on Monday February 10, 2025 @08:59AM (#43000381)
Oh, sorry, that’s an API that doesn’t exist. I was trying to understand what feature you wanted that didn’t exist.