|
Boost Users : |
Subject: Re: [Boost-users] [boost-users][Multi-Index] labmda and composite key
From: Igor R (boost.lists_at_[hidden])
Date: 2009-01-14 06:49:31
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'.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net