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

jQuery clickable div with working mailto link inside -

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -

java - Getting corefrences with Standard corenlp package -