https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98824
--- Comment #1 from Dimitri Gorokhovik <dimitri.gorokhovik at free dot fr> --- It doesn't seem to contradict N4868 :-( Modifying the code slightly (adding refs, splitting deduction across two fn templates) didn't show any other differences from clang: all other modification either both pass or both fail with the equivalent messages ("'i' cannot be deduced"). This is the only one. clang version: Ubuntu clang version 12.0.0-++20201102052620+327bf5c2d91-1~exp1~20201102163303.210 Target: x86_64-pc-linux-gnu