https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71243
--- Comment #2 from Michele Caini <michele.caini at gmail dot com> --- According to https://gcc.gnu.org/projects/cxx-status.html#cxx14, GCC5 should fully implement the C++14 rules. Am I wrong? Anyway, tested on debian sid (unstable), g++ v5.3.1-20 and it works. I guess this can be closed as FIXED because of that. I suspect it has been fixed as a side-effect of another issue, for I've not been able to find a bug report for this.