$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [intrusive.set] Accessing the last (largest) element.
From: Andy Venikov (avenikov_at_[hidden])
Date: 2010-04-15 15:46:11
Ion Gaztañaga wrote:
> On 15/04/2010 16:34, Andy Venikov wrote:
>> Since there is no "back" method for intrusive set,
>> what's the best way to access the last (greatest) element?
>>
>> Is this OK:?
>
> Yes, what about rbegin()?
Yup, rbegin will work. But I already have a range (begin<-->end), and
just need to access the last element in the range.
>
> Best,
>
> Ion
> _______________________________________________
> Unsubscribe & other changes:
> http://listarchives.boost.org/mailman/listinfo.cgi/boost
>
Thanks,
Andy.