$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
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.
degski
-- "*Ihre sogenannte Religion wirkt bloà wie ein Opiat reizend, betäubend, Schmerzen aus Schwäche stillend.*" - Novalis 1798