Boost logo

Boost :

Subject: Re: [boost] [Container] small flat set ?
From: degski (degski_at_[hidden])
Date: 2017-09-05 04:25:34

On 4 September 2017 at 18:12, Phil Endecott via Boost <boost_at_[hidden]
> wrote:
> But that gets complicated if you need iterators with the normal behaviour.

 Wrap a std::vector or a std::array (if fixed size) and forward the begin()
and end() iterators of the container. This then will also give you range
based for loops (for free) on your type.


"*Ihre sogenannte Religion wirkt bloß wie ein Opiat reizend, betäubend,
Schmerzen aus Schwäche stillend.*" - Novalis 1798

Boost list run by bdawes at, gregod at, cpdaniel at, john at