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

paradox_ptr at protonmail dot ch gcc-bugzilla@gcc.gnu.org
Wed Feb 13 08:07:00 GMT 2019


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

--- Comment #6 from paradox_ptr at protonmail dot ch ---
(In reply to Martin Sebor from comment #4)
> I'm curious about the use case: can you describe what you are using
> the attribute for in C++?

I don't have a meaningful use case for you.

Was merging old C program into C++ codebase, and was very surprised when this
part did not compile.


More information about the Gcc-bugs mailing list