Earlier quoted context omitted.
Why would you not just do the following? interface LinkedList class BasicLinkedList implements LinkedList class XORLinkedList implements LinkedList
Hm, I'm super concerned about performance! I know, I'll turn every function call into a virtual function call!
[0] http://en.wikipedia.org/wiki/Policy-based_design
[1] http://en.wikipedia.org/wiki/Curiously_recurring_template_pattern#Static_polymorphism