13 #pragma managed( push, off )    56             if ( 
nullptr == pszString ) {
    62             int nCount = 
static_cast< int >( ::wcslen( pszString ) );
    65                 ::OutputDebugStringW( pszString );
    68             else for ( 
int nIndex = 0, nSize = 0; nCount > nIndex; nIndex += nSize, nCount -= nSize ) {
    78                 ::wcsncpy_s( 
m_szString, &pszString[ nIndex ], nSize );
    96 #pragma managed( pop ) #define NotifyConstructor()
コンストラクタ実行通知マクロ 
#define NotifyDestructor()
デストラクタ実行通知マクロ 
virtual bool OutputString(wchar_t const *pszString) noexcept override
文字列出力関数 
virtual ~CDebug() noexcept
デストラクタ 
wchar_t m_szString[BUFFER_SIZE+1]
文字列バッファ 
static int const BUFFER_SIZE
文字列バッファサイズ