@amy ive seen aladdin
@monorail almost blew out my flames, but not quite
@aescling @vaporeon_ but i am warm and cozy c:
@aescling @vaporeon_ but my job demands that I know how to use the evil language
@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 >:[
yeehaw enthusiast
movie/animation/anime fan. videogame enjoyer. mathematics hobbyist and recovering physicist. software engineer. professional wonk. certified weird movie liker. top-ranked c++ hater. prophet of The Truth. the walking embodiment of "not diagnosed, but somethings wrong". i like animals that wear cowboy hats.
I am not picky about names. Most people here call me catwin, clod boy, clodsire, or Caleb.
header is by @vaporeon_
"i regret ever allowing him here" ~aescling
he/him