@vaporeon_ it did fit into my brain before I burnt it
@vaporeon_ @aescling but the result of A()
is an rvalue, which is not allowed to be given to & or appear on the left side of an assignment. That is the mystifying part here
@vaporeon_ @aescling yes
@alyssa a constructor returns an rvalue which is not supposed to be allowed to appear on the left side of an assignment
@vaporeon_ it should be #include <iostream>
@vaporeon_ what the fuck is mastodon is hiding the hashtag
@vaporeon_ it should be #include
@vaporeon_ evidently I have burnt my brain today
Oops there is missing declaration of the variable a
. This is what you should be examining:
class A {};
int main() {
A a;
std::cout << &(A() = a) << "\n";
}
@Lady I seek not only truth, but specificity and truth
I am increasing the bounty. Whoever can explain this gets 1) a compliment, 2) a headpat, and 3) a kissy on the forehead
@aescling are you the edgy moon rat today?
@aescling I am in the office unfortunately
@Lady why can't I choose both >:[
@onfy my condolences
@amy binkus
@Lady i expected much worse, thank you for mercy
movie/animation/anime fan. videogame enjoyer. food liker. mathematics hobbyist and recovering physicist. software engineer. professional wonk. top-ranked c++ hater. prophet of The Truth. i would not be surprised if I had autism + adhd. i like animals that wear cowboy hats.
I answer to many names, including but not limited to wallhackio, BigmouthCreator, BingusDingus, catwin, and clodboy.
header is by @vaporeon_
"i regret ever allowing him here" ~aescling
he/him