@wallhackio Has a really cool and impressive knowledge of C++, though
(You don't need ears to program in C++)

@wallhackio I did! (Did I forget to favourite it?)

If function names are lvalues, can I assign a function to a different function? Can I say foo = bar; (where foo and bar are functions of the same type) and calling foo() will actually call bar()?

@wallhackio That's unfortunate, it would've been funny if it was possible

(I know that it is possible if you use function pointers instead of functions themselves, and I have done that a few times, but imagine if you could just say foo = bar for two functions instead...)

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.