There are a lot of feature test macros in c++ which give a simple and portable way to detect the presence of C++ standards and experimantal features. However I didn't manage to find simple macros to check if enum classes are supported. Is there more simple and straightforward way to check enum class support then checking value of __cplusplus macros?
Aucun commentaire:
Enregistrer un commentaire