- 697 名前:デフォルトの名無しさん mailto:sage [2007/06/18(月) 02:30:35 ]
- >>695
たぶん、ならんよ。リリース時は DebugPrint("%d, %d", f(x), f(y)); → ("%d, %d", f(x), f(y)); ってなるだけだから。 ただ、これがいやなら、>>693のようにsizeofしちゃうか、 dummyの関数作って #if DEBUG #define DebugPrint DebugPrinter(__FILE__, __LINE__).out #else inline DebugPrintDummy(const char *filename, ...) {} #define DebugPrint DebugPrintDummy #endif って感じにしちゃうのがいいかもね
|

|