SFINAE tests should happen in the functin signature, not in its body. Thanks Jonathan Wakely for the suggested fix! BUG:434150
mentioned in commit cd42aa43