eg. std::map<Item, std::vector<Item> >.
Would that be able serve as a "quick-and-dirty" tree structure (with some helper functions on top and given that less is implemented for Item), given that theres none in the std/boost ?
Would a std::unordered_map be better suited/more usefull/beneficial ? that requires a hash instead of compare though - which can be harder to implement.
I can see one issue though, finding parent/owner have to brute force go through the entire map (although that might be best stored in seperate structure if needed).
Another thing Im not so fond of is the sort of dual meaning of a map entry with an Item with an empty child list.