title: How do I check for C++11 support?
body: <p>Is there a way to detect at compile-time if the compiler supports certain features of C++11?  For example, something like this:</p>
  
  <pre><code>#ifndef VARIADIC_TEMPLATES_SUPPORTED
  
  #error "Your compiler doesn't support variadic templates.  :("
  
  #else
  
  template &lt;typename... DatatypeList&gt;
  class Tuple
  {
      // ...
  }
  
  #endif
  </code></pre>