patching::doublylinkedlist<> support for TRAITS (prelim)