http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57520
Chunsheng Pei <pei.chunsheng at outlook dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pei.chunsheng at outlook dot com --- Comment #1 from Chunsheng Pei <pei.chunsheng at outlook dot com> --- I confirm this behavior. And I tried the following vector<int, allocator<int>> int_v; f1(int_v); g1(int_v); f2(int_v); g2(int_v); GCC/clang reports it could not match f2 only this time.