Subject: Re: [boost] [Container] small flat set ?
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2017-09-13 19:39:43


On 09/09/2017 23:49, Phil Endecott via Boost wrote:
> Ion Gazta?aga <igaztanaga_at_[hidden]>
>> I recently committed to develop the initial implementation (not
>> properly tested!) to use a different container than
>> boost::container::vector as the underlying sequence. The idea is to
>> pass a container instead of an allocator:
>>
>> flat_set<int, std::less<int>, small_vector<int> >
>>
>>    and
>>
>> flat_set<int, std::less<int>, static_vector<int> >
>>
>> should work. Or better said, they'll work properly soon. Willing to try?
>
> detail/flat_tree.hpp line 459 tries to use a macro BOOST_INTRUSIVE_HAS_TYPE
> which doesn't seem to be defined anywhere.

You should update Boost.Intrusive also to the latest version, sorry for
not saying that before.

Best,

Ion