today in c++ value category fuckery:

what is the value category of an rvalue reference cast of a function?

Follow

@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

Sign in to participate in the conversation
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.