Re:Type-safe Bitmasks in C++
by simias on Wednesday June 13, 2018 @10:50AM
(#17303591)
C++ ADL is pretty bonkers indeed, or at least somewhat surprising if you don't know the rules very well. Thing is without ADL some patterns would be a lot harder to write (or use).
I personally dislike overloading very much so I'm probably not the best person to defend it though.
I personally dislike overloading very much so I'm probably not the best person to defend it though.