c++ - How do I check for C++11 support? -


is there way detect @ compile-time if compiler supports features of c++11? example, this:

#ifndef variadic_templates_supported  #error "your compiler doesn't support variadic templates.  :("  #else  template <typename... datatypelist> class tuple {     // ... }  #endif 

boost.config has a plethora of macros can used test support specific c++11 features.


Comments

Popular posts from this blog

c# - IMAP GMAIL getting folder list problem -

PHP proxy to get XML: problem with URL arguments -