| prw8864 (6) | |||
I am trying the pass the address of a map into the compare object that has been instantiated with in a map. I am getting this error "Invalid use of member(did you forget the '&' ?)
do I have to translate S_ as it is moved from Xmap 'set' to map_sort 'setM' ? or is the current code correct? | |||
|
|
|||
| Albatross (3551) | |
|
I don't know anything about your map class. Are you deriving from the STL map, or your own? At any rate, what is the type of the member key_comp (though I have suspicions)? Also, um... what is the purpose of your Xmap class? -Albatross | |
|
Last edited on
|
|
| bluecoder (763) | |
can you let me know intemplate <class T, class U, class C>why this extra c class (type ) ? | |
|
|
|