[Bug c++/89299] __attribute__ cleanup does not accept template function

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 12 10:07:00 GMT 2019


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

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
That attribute doesn't really make sense in C++, because you have destructors
anyway, so I would think that making it work with C++ templates is very low
priority.


More information about the Gcc-bugs mailing list