Timeline for How do you achieve the 'BST Property' in a Template Binary Search Tree?
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 4, 2020 at 0:48 | vote | accept | Sebastian King | ||
May 7, 2016 at 14:46 | comment | added | Sebastian King | yep that's what I meant. Alright thanks for the responses guys. Much appreciated. I'd upvote but I don't have the privileges. | |
May 7, 2016 at 14:23 | comment | added | DeadMG | @SebastianKing Yep. You don't need to do this explicitly in C++ as the compiler will error. | |
May 7, 2016 at 13:43 | comment | added | Robert Harvey | @SebastianKing: If by appropriate qualities you mean "Any T with a comparison operator and copy/move constructors," then yes. | |
May 7, 2016 at 11:49 | comment | added | Sebastian King | Okay thanks for your answer. So if we want to pass in our own T into our tree, we must assure our T has the appropriate qualities so it can be handled by the tree? | |
May 7, 2016 at 11:36 | history | answered | DeadMG | CC BY-SA 3.0 |