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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
(In reply to Nathaniel Shead from comment #4)
> That said, looking at your provided code this seems odd as it doesn't
> actually use any of these noted declarations from OpenCV; I guess maybe this
> is some of the known issues we have with not fully eliding all unused
> templates from the GMF in the case of deferred instantiations.

Hmm, it doesn't seem to me that elision makes a difference to the standard;
https://eel.is/c++draft/basic.link#17 just says a declaration in a module
interface unit, so the templates are ill-formed whether or not they might be
discarded later.

Reply via email to