Did `#pragma once` make it into C++0x?

后端 未结 3 476
长情又很酷
长情又很酷 2021-01-17 13:52

The title says it all. Have #pragma once been standardized for C++0x? I don\'t know any compiler that doesn\'t provide an implementation of it, with almost alwa

3条回答
  •  抹茶落季
    2021-01-17 14:07

    It's also trivial to implement using #ifdef. What's the guiding principal for the new version? Implement everything you might ever want and the kitchen sink or just give you the minimum tools to do so yourself?

提交回复
热议问题