A multi_index node. Holds the value of a single element, plus per-node headers of each index, if any. The headers are all mixed in in the same scope. To prevent naming conflicts, a header field must be accessed with the number of its index.
generate slots
alias MNode!(IndexedBy!(Sequenced!(), Sequenced!(), OrderedUnique!()), int) Node; Node* n1 = new Node(); Node* n2 = new Node(); n1.index!0 .next = n2; n2.index!0 .prev = n1; n1.index!1 .prev = n2; n2.index!1 .next = n1; n1.index!2 .left = n2;
See Implementation
A multi_index node. Holds the value of a single element, plus per-node headers of each index, if any. The headers are all mixed in in the same scope. To prevent naming conflicts, a header field must be accessed with the number of its index.