[Bug c++/60796] Default move constructor not generated by explicit template instantiation

zerolo at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Apr 21 10:17:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60796

--- Comment #4 from Daniel Vollmer <zerolo at gmail dot com> ---
The relevant clang issue seems to be
https://llvm.org/bugs/show_bug.cgi?id=22763

In my case, I have the "extern template" declaration in the header for the
corresponding template, thus preventing any implicit instantiations and then
leading to the linker errors with the missing "= default;" methods because the
explicit instantiation doesn't generate them.


More information about the Gcc-bugs mailing list