r/cpp • u/meetingcpp Meeting C++ | C++ Evangelist • May 21 '26
Exploring ref qualifiers in C++
https://meetingcpp.com/blog/items/Exploring-ref-qualifiers-in-Cpp.html
41
Upvotes
r/cpp • u/meetingcpp Meeting C++ | C++ Evangelist • May 21 '26
View all comments
Show parent comment
3
u/Potterrrrrrrr May 22 '26
I do this with a custom version of move which just has static asserts for this sort of thing before it calls move, saves me having to remember to delete the overload