It’s possible to use TRACE macro as printf like function (variable argument list) . If it supports this facility, then why it’s necessary to have TRACE0, TRACE1 and TRACE2 macros except they’re imposing restrictions on number of arguments. Again, I’d like to know if there are any advantages on restricting number of arguments for TRACE macro.
It’s possible to use TRACE macro as printf like function (variable argument list) .
Share
If I recall correctly, MFC 4 did not have variadic TRACE statements. That was added in a later version. The old-style TRACEn macros are probably there for backward compatability.