All challenges
Multiple ChoiceIntermediate 45s

The immediate context rule in SFINAE

When does an error in template argument deduction result in a substitution failure (SFINAE) rather than a hard error?
Options
  1. 1Only when the error occurs in the immediate context of the substitution
  2. 2Whenever any error occurs anywhere in the instantiation
  3. 3Only when the template has a single parameter
  4. 4Never; all instantiation errors are hard errors

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle