@vaporeon_ i have failed in my objective lol
re: no image desc
@vaporeon_ T&& is an "rvalue reference to T" which is a whole can of worms I am not going to explain right now
@wallhackio @vaporeon_ that's me
@The_T @wallhackio They're referencing you
In the C++ code
re: no image desc
@wallhackio I forgot: why did they invent static_cast
? What's the advantage over a normal cast, like in C, like K&R intended?
@vaporeon_ okay now this is truly deranged language design:
https://www.worldcadaccess.com/blog/2020/05/how-to-hack-c-with-templates-and-friends.html
@vaporeon_ this blog post contains the incredible sentences "Isn’t it beautiful? We just violated one of the fundamental aspects of the language! And yet, I emphasize, everything is in full compliance with the C++ standard."
@vaporeon_ "From reading this, it may seem to you that stateful metaprogramming ought to be illegal, and that the committee feels the same way. The problem is that they do not know what to do with this “feature” that they introduced accidentally. The technique was found back in 2015, and since then the issue has remained open."
oh my GOD
@wallhackio You might still be able to achieve your objective by sending me awful things like object-oriented code or rvalue references (declared with
&&
) or other things that are not in C