220 41433 <e54a7dec-c1f2-4c2d-a807-f9f63ddf9596@isocpp.org> article
Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail
From: Bengt Gustafsson <bengt.gustafsson@beamways.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: std::map augmentation
Date: Thu, 7 Feb 2019 23:06:54 -0800 (PST)
Approved: news@gmane.org
Message-ID: <e54a7dec-c1f2-4c2d-a807-f9f63ddf9596@isocpp.org>
References: <ce18cc74-9116-4da6-b320-fe2b4715b1d6@isocpp.org>
 <20190207033735.5222481.23704.70753@gmail.com>
Reply-To: std-proposals@isocpp.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_184_428170984.1549609615024"
Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226";
	logging-data="160707"; mail-complaints-to="usenet@blaine.gmane.org"
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCRIRSPDTQIRBEGV6TRAKGQEMHDLBHI@isocpp.org Fri Feb 08 08:06:59 2019
Return-path: <std-proposals+bncBCRIRSPDTQIRBEGV6TRAKGQEMHDLBHI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-yb1-f199.google.com ([209.85.219.199])
	by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.89)
	(envelope-from <std-proposals+bncBCRIRSPDTQIRBEGV6TRAKGQEMHDLBHI@isocpp.org>)
	id 1gs0FX-000fdy-5p
	for gclcip-std-proposals@m.gmane.org; Fri, 08 Feb 2019 08:06:59 +0100
Original-Received: by mail-yb1-f199.google.com with SMTP id t9sf1575920ybd.5
        for <gclcip-std-proposals@m.gmane.org>; Thu, 07 Feb 2019 23:06:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=nGliz0pARx8XvztbuCDConFUXSAfPAUp8bSTiTObqH8=;
        b=pJGxYIioHWrSX0uD6YrwDk5HehqrpY+AxMMpB/WD9M0vsmUDx5+BNOpSlgoDa11gi7
         C9kLNj4GZ8Pu/N3pKASykLjQGzagJJ10qbYxayJbyDzaxn45U6l2bVWSn+oNuLXezB2t
         5soGPolK9opz/TJGWg/XVe547Oku6r4nv2UmZTEld7jqlcGkArKt81fmdOblOCjJtHju
         lbAqmVqVNDrQQ+gl8yWRPfhRwIHib/lR+W3hHQ6WSQW/nGbUFexMzy1aY3meP81iIfrj
         zIvCIkiXDSwVasogmi72wiBX257d43qQwmQcZGQ9RqLYgtP0EO2iyqEAqjYwF945vI0f
         kQDg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:date:from:to:message-id:in-reply-to:references
         :subject:mime-version:x-original-sender:reply-to:precedence
         :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help
         :list-archive:list-subscribe:list-unsubscribe;
        bh=nGliz0pARx8XvztbuCDConFUXSAfPAUp8bSTiTObqH8=;
        b=DpJs1ERVCXa7qXi6QHdqElZRYV477engLp08wR6+hSs6t6PkNBhhtoYK+l5PbQtnMT
         qD4W8YnQjNepzIc0GXpxX/X5XkGtIXkW2tXUjYvStQKDvleAqvcne0IbSYsB/Ai211/F
         +SmH8t+cwtLAyOGb0LRHZmGQYQTjaebsssIsiAwzlLneVs52ycI8ra5bFUPcM7T3SggD
         rvQip/a/OCWysm9c1jlY4y/DGujHwEh+E6tabEWwLNBeLpwqQDj4rJsO36NNZ0t9k4HZ
         D8YT4/jJODrnOTiXwv2kMb4MkGB3MPCxA8a5qUlxBXpEw1uhhyRnvOGQyCpqtRW2dcnt
         Qm7g==
X-Gm-Message-State: AHQUAuYc75YUjWvxJZpVdV+1lE9pA/n5jhZPMOqK77YKw1nTghY/WjBb
	0zCFg9DdT1GOokq02prvnm6wKQ==
X-Google-Smtp-Source: AHgI3IZw4eMopUO8r48BidAfNh4UshmqqI0lWXdMYo+YPXFT4s7AsHUoJeDuxyqro8kolPYnD0wjBA==
X-Received: by 2002:a25:3290:: with SMTP id y138mr8334663yby.68.1549609617799;
        Thu, 07 Feb 2019 23:06:57 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 2002:a25:7ac7:: with SMTP id v190ls1654979ybc.10.gmail; Thu, 07
 Feb 2019 23:06:55 -0800 (PST)
X-Received: by 2002:a25:8042:: with SMTP id a2mr175322ybn.2.1549609615698;
        Thu, 07 Feb 2019 23:06:55 -0800 (PST)
In-Reply-To: <20190207033735.5222481.23704.70753@gmail.com>
X-Original-Sender: bengt.gustafsson@beamways.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Google-Group-Id: 399137483710
List-Post: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:41433
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/41433>

------=_Part_184_428170984.1549609615024
Content-Type: text/plain; charset="UTF-8"

Yes, this is the situation concepts were designed for. Make it a separate class fulfilling the concepts of a map.

What is the use case of the new functionality?

Also note that flat_map trivially implements this by iterator arithmetics.

-- 
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/e54a7dec-c1f2-4c2d-a807-f9f63ddf9596%40isocpp.org.

------=_Part_184_428170984.1549609615024--

.
