
14 Jan
2009
14 Jan
'09
11:49 a.m.
Hi JoaquĆn,
As far as I can see your expression is correct and should work as you intend.
Thank you! It apperas that the problem was in the criteria initialization.
Rereading your question, I realize that the first key of your composite key compares ServicePtrs, which is not the same as comparing the pointed to Services. Maybe your problem is related to this?
The idea itself was correct (I wanted to use the shared_ptr's equality), but the implementation was bad - the ptrs were improperly initialized. Thank you again, Igor'.