for ( int i = 0; i < b.size(); b++ ) {
a.push_back(std::move(b[i])
}
Started calling these Boomer Loops in my head I hope you enjoy my terminology
1
1
89
New c++ footgun of the day
wandbox.org/permlink/cnUm9Po…
I really assumed a const ref to a returned class member would just be a ref to the class member, but no
wandbox.org/permlink/5UT7gj0…
I don't get where the memory in the first link is actually living? const ref to an r-val?
1
367
New dumb thing but i'm gonna try grinding out getting the day of any date :D
My robot friend made a script for testing it
6s average so far :D
github.com/AshleyG94/Doomsda…
1
350
Today i found out there's no cartesian product in std::algorithm this is the first thing i've officially needed ranges for...
204
Was randomly reading through the google c++ style guide and saw this!? And found this absolutely crazy! Not something I'd ever thought or looked at investigating myself and I don't think i've coded multiple inheritance for a long time, but damn.
3
245
I had to put this on my main because I wanted as many as people as possible to see it!!
The best talk from CPP con: Coping with other peoples code! I'd even recommend this to non-developers
Laura was a hilarious and inspirational speaker, goes into feelings of imposter syndrome, frustration with others, work life balance and so much more!!
youtu.be/qyz6sOVON68?list=PL…
4
584
The talk on std::simd yesterday was so good I have so much to learn!! It’s a shame it’s coming in C++26 but I look forward to using it in 2035 whenever whatever company I‘m working at adopts that language
2
510






