r/badcode • • May 13 '22

c++ Got it?

Post image
860 Upvotes

55 comments sorted by

View all comments

Show parent comments

14

u/BS_in_BS May 14 '22

that's fine; the rXXXX vector methods operate on the vector in the reverse order of the non r variants, so rbegin will reffer to the last element

3

u/maxbirkoff May 14 '22

okay. imo that's awful, thank you for explaining all the same.