In my program there are some users and their clients. I have the list of users and their associated clients.
Example
U1 -> c1, c2, c3, c5, c8, c10, c12
U2 -> c3, c5, c13, c8, c12, c14
U3 -> C2, C5, c8, c11, c12, c14
..
...
....
.....
and many more.
some clients are common in user's list.
I want to make reverse hierarchy of clients to users . If any update comes for any client then it will goes to only those users for which the client is associated.
Please suggest me which data structure should be used map, multimap, boost::bimap, multiset