Using maps and binary search tree

Whats the would be a good way to fill a binary search tree with maps?
I am reading information from multiple files that has information stored by date and time example: (01/03/2017 12:30:30, info1, info2, etc.) inside a csv file.

I want to set the year as the key for the binary search tree with a map as the actually data inside it, the map has months as the keys with the summed up data as a vector associated with them.

I can create a tree with maps if I manually create them but doing it while reading from a file is confusing me a bit, but I am probably overthinking it as I tend to do.

I need some pointer or hints, I am not asking for a solution just a way how I can do it.

Thanks.
Topic archived. No new replies allowed.