News for hackers. Stuff that matters.
Re:Why should I have written ZeroMQ in C, not C++ (2012) by dschatz on Friday May 22, 2015 @11:31PM (#9591904)
The list takes an OwningPointer to the object to be inserted. One of the requirements of this trait (which is unsafe to implement) is "the object cannot be moved while in the `LinkedList`." So Box would work, or a mutable reference would as well (the library implements the trait for these types already). The list itself doesn't do the allocation though.

There are no comments on this comment yet.