On 05.11.2019 20:20, Peter Kovacs wrote:
> I am not sure why, but if you use gcc++98 std it compiles. Maybe it
> optimizes the code since it might be dead code.

That would be a very, very strange way to go about things. To figure out
something is dead code, you have to at *least* parse it first, and the
syntax error is pretty glaring. It's not impossible that the function is
never called and hence previous (IMO, buggy) versions of GCC never got
to generate the template function.

-- Brane


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to