Is there a compile-time func/macro to determine if a C++0x struct is POD?

后端 未结 1 610
时光说笑
时光说笑 2020-12-31 00:05

I\'d like to have a C++0x static_assert that tests whether a given struct type is POD (to prevent other programmers from inadvertently breaking it with new members). ie,

1条回答
提交回复
热议问题