today in c++ value category fuckery:
what is the value category of an rvalue reference cast of a function?
@wallhackio what is the answer
@aescling lvalue
@wallhackio i hate c++
@wallhackio is there ever a good reason to make such a cast btw
@aescling No. You would just bind the function to a reference or use a lambda, or as a last resort use a function pointer. I cannot imagine a use case for this
A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.
@aescling No. You would just bind the function to a reference or use a lambda, or as a last resort use a function pointer. I cannot imagine a use case for this