Incase it doesn’t show up:

  • pelya
    link
    113 days ago

    I know at least three ways, one of them involves variadic macros.

    You don’t even need to look that far, take any sufficiently aged library, like OpenGL.

      • pelya
        link
        213 days ago

        Yet I still had an urge to explain an obvious thing. Because it’s C++, so everyhing goes. There are even tools to auto-generate C++ interfaces, because of course someone decided that C++ is inadequate and must be improved using some kind of poorly-documented ad-hoc extension language on top of C++.