Is there any situation where you wouldn't want include guards?

前端 未结 6 735
北海茫月
北海茫月 2021-01-11 22:08

I know why include guards exist, and that #pragma once is not standard and thus not supported by all compilers etc.

My question is of a different kind:<

6条回答
  •  有刺的猬
    2021-01-11 22:18

    
    
    

    "The assert macro is redefined according to the current state of NDEBUG each time that is included."

提交回复
热议问题