It's the tab stop operator. Fags use it instead of indenting their code. if autism:
->print "fuck off, " + faggotquotify("faggot")
else:
->print "/polecat kebabs/"
Name:
Anonymous2012-03-06 20:34
It's the "definitely greater than" operator.
a>b*1000 can be rewritten as a->b.
Name:
Anonymous2012-03-06 20:57
Don't listen to the trolls, it's the "decrementing greater than comparison", or "dgtc" operator, it basically works like a -= b except that a -> b returns the comparison between a > b after assigning a to a - b.
Name:
Anonymous2012-03-06 22:11
It's supposed to simplify pointer arithmetic when using structures.
a->b;
is the same as
*(a.(void*)*(&a + (&b - &a)));
If you have several nested structures (a la 'a->b->c->d->e;`), then you can see how much simpler it looks using -> notation than it does using pure pointer notation.
void main()
{
SHITPOST * newShit = GenerateShitpost();
cout << newShit->com << endl << "by \t\t" << (*newShit).kotehan;
// ***************************************************************
// * Notice that newShit->com would do the same as (*newShit).com
// * A structure name is a pointer the the first memory address,
// * and the var after the . is the offset from that. This is
// * complicated if it is a pointer to a struct, leading to the
// * (*a).b notation. a->b is an attempt to mask that from the
// * common programmer.
// ***************************************************************
I never could have imagined that seeples would let you override the -> operator. What the fuck man, it doesn't even make sense! Why would you ever need p->x(a, b, c) to not be the same thing as (*p).x(a, b, c)?
Name:
Anonymous2012-03-07 2:18
>>16
It makes sense for smart pointers. Overloaded -> means a member of the object pointed to by the smart pointer, but . means a member of the smart pointer itself.
>>17
but that is taken care of if a->b always means (*a).b, which would get its meaning in this case by simply overloading the * dereference operator. Or is that how it works?
What I am saying is, I made a struct with a member called b, then I created one of it on the heap.
Then I tried to use *(a.(void*)*(&a + (&b - &a))); but it won't compile.
Name:
Anonymous2012-03-07 9:30
>>1
Don't let those previous posts fool you, >>1; It's shorthand for the goto operator! Program control is passed, after the left hand side is evaluated, to the label specified by right hand side of the expression. Example usage: