has_extension_cxx.cpp [plain text]
#if __has_extension(c_static_assert)
int c_static_assert();
#endif
#if __has_extension(c_generic_selections)
int c_generic_selections();
#endif
#if __has_extension(cxx_deleted_functions)
int has_deleted_functions();
#endif
#if __has_extension(cxx_inline_namespaces)
int has_inline_namespaces();
#endif
#if __has_extension(cxx_override_control)
int has_override_control();
#endif
#if __has_extension(cxx_range_for)
int has_range_for();
#endif
#if __has_extension(cxx_reference_qualified_functions)
int has_reference_qualified_functions();
#endif
#if __has_extension(cxx_rvalue_references)
int has_rvalue_references();
#endif
#if __has_extension(cxx_local_type_template_args)
int has_local_type_template_args();
#else
int no_local_type_template_args();
#endif