概要
プリプロセッサ定義
動作確認環境
—
詳細
プリプロセッサ定義いろいろ
1 2 |
#ifdef _DEBUG_ #endif |
1 2 3 4 5 |
#ifdef _DEBUG_ #else #endif |
1 2 3 |
#if defined(_DEBUG_) && defined(_DEBUG_AAA_) #endif |
[] c++ – Boolean in ifdef: is “#ifdef A && B” the same as “#if defined(A) && defined(B)”? – Stack Overflow
Boolean in ifdef: is "#ifdef A && B" the same as "#if defined(A) && defined(B)"?
In C++, is this:
#ifdef A && B
the same as:
#if defined(A) && defined(B)
?
I was thinking it wasn't, but I haven't been able to find a diff...
コメント