|
Boost Users : |
Subject: Re: [Boost-users] [MultiIndex] cryptic gcc error
From: Ovanes Markarian (om_boost_at_[hidden])
Date: 2011-09-02 09:40:07
On Fri, Sep 2, 2011 at 3:32 PM, Dominique Devienne <ddevienne_at_[hidden]>wrote:
> On Fri, Sep 2, 2011 at 8:07 AM, Ovanes Markarian <om_boost_at_[hidden]>
> wrote:
> > entries.find(boost::make_tuple(false)); //!!!! this line results in
> an
>
> Your composite_key has two components, so shouldn't you make a 2-tuple
> with a timestamp instead of just providing the mask state? --DD
>
> Hello Dominique,
as far as I understand docs I souldn't.
And that is also the reason why I use a multi_index here with a composite
key...
This is what I assume from the examples in the docs:
http://www.boost.org/doc/libs/1_46_1/libs/multi_index/doc/tutorial/key_extraction.html#composite_keys
With Kind Regards,
Ovanes
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