• aion
    link
    fedilink
    arrow-up
    2
    ·
    29 days ago

    Just don’t use double underscores in C++, identifiers containing double underscores are reserved for the compiler/linker/standard library.

    • bterwijn@programming.devOP
      link
      fedilink
      arrow-up
      1
      ·
      29 days ago

      Same thing in Python, double underscore prefix triggers “name mangling”. There are issues that can pop up when using it if not aware.