Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

GNU/Communism

Name: Anonymous 2011-02-05 9:21

Linus B. Torvalds:

    GNU community that is an anomaly: virtually all users of GNU software and the GPL, under which my Linux kernel falls under, are unkempt, long-haired, beast-bearded dirty GNU hippies, and I am sick and tired of having to deal with them.

Linus actually hates GNU. :3

Name: Anonymous 2011-02-05 13:09

>>33
It is useful, as a matter of fact! The closure object is just like any other C++ class object, with a default constructor, copy constructor, copy assignment operator, move constructor, move assignment operator, and destructor.

Therefore, you can copy it around, allocate memory on the heap for it, and move it there using rvalue reference move semantics, and so on.

You get to manage the life time of the closure. And because you get to choose what variables get bound to the closure, and how they're bound (by-value or by-reference), you get to manage the life time of what is bound too. It's quite powerful.

Garbage collection is training wheels for babies first program.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List