C++ Logo

std-proposals

Advanced search

Re: std::tree

From: Marcin Jaczewski <marcinjaczewski86_at_[hidden]>
Date: Sat, 6 Feb 2021 14:38:28 +0100
sob., 6 lut 2021 o 14:18 Giuseppe D'Angelo via Std-Proposals
<std-proposals_at_[hidden]> napisaƂ(a):
>
> 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?
>
> http://eel.is/c++draft/container.node.overview#1
>

Ooo, I see that standard fullyfy my ideas before I have them :)

> > 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.
>
> Thanks,
> --
> 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
>
> --
> Std-Proposals mailing list
> Std-Proposals_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals

Received on 2021-02-06 07:38:42