You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While if I use IILE (Immediately-Invoked Lambda Expression) instead of passing the lambda to the puts function I get what's actually decent output (that's also valid C++98):
There's several things wrong with the first produced output. Most obviously that the lambda didn't get a functor class generated and uses of the lambda type replaced by the functor.
More subtly visible errors:
The main template (not the specialization) still contains an r-value/universal reference which is illegal C++98
The specialization also contains an r-value reference
The text was updated successfully, but these errors were encountered:
Basically, this:
Yields this output:
While if I use IILE (Immediately-Invoked Lambda Expression) instead of passing the lambda to the
puts
function I get what's actually decent output (that's also valid C++98):Becomes:
There's several things wrong with the first produced output. Most obviously that the lambda didn't get a functor class generated and uses of the lambda type replaced by the functor.
More subtly visible errors:
The text was updated successfully, but these errors were encountered: