@holly @coriander what if we changed it to "art is never finished, only set free"
Well I've finished my first ever complete song that I thought was worth putting out in the world and here it is.
@coriander I boosted this before the image even finished loading on my screen
POV: you are a nice crusty baguette on the kitchen counter and i want to make a sandwich at 1:47 a.m.
re: c++ complaining, wall of text
@aescling again I return to the statement "reinterpret_cast<T&>(x) is the same thing as *reinterpret_cast<T*>(&x)"
A reinterpret cast to a reference type is equivalent to a dereferenced reinterpret cast of a pointer. It is very explicitly not a pointer.
re: c++ complaining, wall of text
@aescling again I return to the statement "reinterpret_cast<T&>(x) is the same thing as *reinterpret_cast<T*>(&x)"
A reinterpret cast to a reference type is equivalent to a deferenced reinterpret cast of a pointer. It is very explicitly not a pointer.
re: c++ complaining, wall of text
@aescling you are right, you can only reinterpret cast to a char pointer or reference. i was mistaken about the existence of reinterpret casts to char
I don't understand how the result is a char pointer. It is not. It is a char reference. References are aliases. They are like macros to the original thing. They aren't a number representing a location in memory. They are another name for the variable itself
re: c++ complaining, wall of text
@aescling according to this stackexchange answer https://stackoverflow.com/a/5924278/22334683
"reinterpret_cast<T&>(x) is the same thing as *reinterpret_cast<T*>(&x)"
re: c++ complaining, wall of text
@aescling reinterpret_cast tries not to make a copy of anything. it is looking at the same region of memory but interpreting it differently. that's what it does, that's the whole point
re: c++ complaining, wall of text
@aescling you are making the rookie mistake of assuming that C++ makes sense
re: c++ complaining, wall of text
@aescling why not
re: c++ complaining, wall of text
@aescling reinterpret_casting to char or to char& is the exact same thing except whether or not the result is treated as an lvalue or rvalue.
re: c++ complaining, wall of text
@aescling the image i drew is what would happen if you casted to char.
the clodvestigator
i answer to Caleb, Clodsire, Clodboy, Clod, and Bumby. very leftist.
videogame enjoyer. mathematics hobbyist and recovering physicist. recovering 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
header is by @vaporeon_
"i regret ever allowing him here" ~aescling
"oh you're one of those weird movie likers" ~Ti
30+
he/him
sgraMrt