std::map
uses
std::pair
BTree
requires the application program to provide the equivalent
functionality
#include
as a good practice (not required for the assignment), but
please do not call the second-level "btree.cpp"; a far, far
better choice is "btree-impl.h"
walk
needs to be a template function
operator()
node = root
while node or stack not empty
while node
push(node)
node = node->left
node = pop()
process(node)
node = node->right
function inorder(node)
if node->left
node->left->inorder()
process(node)
if node->right
node->right->inorder()
root->inorder()
Switching tack, this is not a complete non sequitur