DEV Community

Discussion on: Let's try C++20 | using enum

Collapse
maresia profile image
Maresia • Edited on

Yes, it has occurred to me to use one function by mistake, imagining it to be another. The result was a code that behaved very strangely and I only noticed that it used the wrong function much later after spending a long time fighting with gdb. Since then I use this extensively and avoid using.

Thread Thread
pgradot profile image
Pierre Gradot Author

I understand your pain...