Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Why should I have written ZeroMQ in C, not C++ (part II). Parent comment
An implementation of std::list<T> is going to contain multiple objects of type __node<T>.
__node<T> would be defined as:
template <typename T> struct __node { __node *prev; __node *next; T value; };
There are no comments on this comment yet.
An implementation of std::list<T> is going to contain multiple objects of type __node<T>.
__node<T> would be defined as:
(Note that this doesn't change what anyone else said though, T is a pointer in this particular case, so there's still another indirection)