re: I'm bad at C++
@vaporeon_ if you want a real answer then I have my (extremely biased) notes here: https://github.com/calebmsword/cpp-notes/blob/main/value%20category.md
You don't need to read the whole thing to understand lvalues. Just read up to the section titled C++11.
re: I'm bad at C++
@vaporeon_ in C that was the case because C makes sense. In C++, there are expressions called "lvalue" because C had expressions called "lvalues" and most of them are considered "lvalues" in C++
re: I'm bad at C++
@vaporeon_ im pretty sure functions cannot be reassigned
in C++ land, where things no longer make sense, there are many lvalues which cannot appear on the left hand side of an assignment
re: sportsball
@vaporeon_ in C++, functions names are considered lvalues! I cannot say for certain why this decision was make, I would guess this was probably so that "names of things" could correctly describe lvalues
However, a function name is ambiguous if that function is overloaded, so the & operator throws on the name in that case
re: sportsball
@vaporeon_ would you like me to tell you the answer
@soft the lie i tell myself daily
re: sportsball
@vaporeon_ there is exactly one lvalue in C++ that sometimes throws when given to the & operator. can you think of what it is?
Hint: while this kind of expression exists in C, it is not considered an lvalue in C!
re: sportsball
@coriander my PC and consoles are packed so I can't play video game o________o
@cam that's a great word I am adding to my collection thank you
@SportsGoblin I am watching because I wanted to move today but the people I scheduled a junk removal today were 2.5 hours late and this was after they pushed my appointment back an entire day so now I don't trust them so I just cancelled the appointment and now scheduled one with a different company and the earliest I could schedule was tomorrow morning so now I'm just sitting on my ass waiting for tomorrow
@SportsGoblin this game got wacky fast
@lapis holy shit
@amy I think the best way to understand this is that even if you are not in the top 50% percentile of people who play smash competitively, you are almost certainly better than 99% of humans on this earth
@lapis there is sauce lol
i go by Clodsire, Clodboy and Catwin.
videogame enjoyer. mathematics hobbyist and recovering physicist. software engineer. professional wonk. prophet of The Truth. the walking embodiment of "not diagnosed, but somethings wrong". i like animals that wear cowboy hats.
number of fat cock awards received: 56
pfp is by @The_T
header is by @vaporeon_
"i regret ever allowing him here" ~aescling
"oh you're one of those weird movie likers" ~Ti
28+
he/him