Boost logo

Boost :

Subject: Re: [boost] [utility] prior(it, n) for n being an unsigned type
From: Adam Romanek (romanek.adam_at_[hidden])
Date: 2014-06-24 02:21:14


On 23.06.2014 23:21, Andrey Semashev wrote:
> (...)
>
> I've created a pull request:
>
> https://github.com/boostorg/utility/pull/15
>
> After I read that old discussion I decided to go with a slightly more
> complicated solution than I originally intended.

It became a bit complicated, for such a "simple" utility ;) But I'm glad
it's been fixed. Thanks!

Just out of curiosity - why haven't you chosen the std::reverse_iterator
-based approach described in the old thread?

WBR,
Adam Romanek


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk