https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114378
Patrick Palka <ppalka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ppalka at gcc dot gnu.org Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from Patrick Palka <ppalka at gcc dot gnu.org> --- IIUC this is CWG1647 / PR60679. It works if we give 'N' type std::size_t instead of so that there's no implicit integral conversion going on. *** This bug has been marked as a duplicate of bug 60679 ***