For
Template defining generically trees, parametrized by a content datatype (typename Content): each tree node will contain its instance of Content, for example this templated tree may instanciated with Content == std::string. a file hierarchy structure, each tree node would be a directory, and its content would be a list of its file entries.
- Note:
- The typename X must be a child class of TextDisplayable, so that we can call its toString method.