D言語 Part27
■ このスレッドは過去ログ倉庫に格納されています
0284デフォルトの名無しさん
2011/05/17(火) 04:25:19.79ほんとだ。デバグコンパイルしたdmdだとクラッシュする。と思ったらこれは、
/**************************************
* Try to stop forgetting to remove the breakpoints from
* release builds.
*/
void halt()
{
#ifdef DEBUG
*(char*)0=0;
#endif
}
なんのおまじないだろう? breakpoint ?
>>281
当座はこれでしのごうかな。
this( T = void )(){}
■ このスレッドは過去ログ倉庫に格納されています