C++ Logo


Advanced search

Re: std::tree

From: Giuseppe D'Angelo <giuseppe.dangelo_at_[hidden]>
Date: Sat, 6 Feb 2021 14:17:05 +0100
Il 06/02/21 13:51, Magnus Fromreide via Std-Proposals ha scritto:
>> Btw type like this could have interesting property. We could allow
>> transferring nodes between different collections,
>> even if they use different keys but have same value type.
> Interesting idea!

How is this different C++17's node handles?


> Elements may be transferred in either direction between container
types in the same row

In each row you have the same value type, but possibly different comparator.

Giuseppe D'Angelo | giuseppe.dangelo_at_[hidden] | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts

Received on 2021-02-06 07:17:21