220 30023 <CAFk2RUZvBrYRz+WVVrYOYh18Jr3PGsBEi2bnySi0-1fKWwtfEw@mail.gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Ville Voutilainen <ville.voutilainen@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: join/split for string & string_view
Date: Sun, 25 Dec 2016 19:34:07 +0200
Lines: 19
Approved: news@gmane.org
Message-ID: <CAFk2RUZvBrYRz+WVVrYOYh18Jr3PGsBEi2bnySi0-1fKWwtfEw@mail.gmail.com>
References: <f609c0d3-c9ba-4a64-a99f-c2e64091b4e2@isocpp.org>
 <d8544b44-9ed4-403d-a980-6dda516933f6@isocpp.org> <172d08f0-a3da-4b9e-bfdd-985fb1f527c8@isocpp.org>
 <CAFdMc-07FWpV07b3WSz0U=uDNHXM19xgBTH=Cpt=Kvty4886FQ@mail.gmail.com>
 <CAFdMc-1sKQUs_ziOQwEZsOTLRDLrhjVSzLK_Jku27-XwkscQ+g@mail.gmail.com>
 <CAFdMc-2Fgm3A2JjbERdCeFqDDFFTHhWFLPEr6Jw4uPp2dw1Pbg@mail.gmail.com>
 <CAFdMc-3RaU+gW0EnBPtSDsLVcxxBXmzxgrtJn_FtdWcubxVJeg@mail.gmail.com> <2f450f27-18b4-440b-8f54-9fbc1e2598f9@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
X-Trace: blaine.gmane.org 1482687252 5992 195.159.176.226 (25 Dec 2016 17:34:12 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sun, 25 Dec 2016 17:34:12 +0000 (UTC)
To: "ISO C++ Standard - Future Proposals" <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBC5JHI7A7ALRBEEGQDBQKGQEMXYW6DQ@isocpp.org Sun Dec 25 18:34:08 2016
Return-path: <std-proposals+bncBC5JHI7A7ALRBEEGQDBQKGQEMXYW6DQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-pg0-f69.google.com ([74.125.83.69])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBC5JHI7A7ALRBEEGQDBQKGQEMXYW6DQ@isocpp.org>)
	id 1cLCgO-0000fP-SQ
	for gclcip-std-proposals@m.gmane.org; Sun, 25 Dec 2016 18:34:05 +0100
Original-Received: by mail-pg0-f69.google.com with SMTP id f188sf869309990pgc.1
        for <gclcip-std-proposals@m.gmane.org>; Sun, 25 Dec 2016 09:34:09 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :x-original-sender:x-original-authentication-results:reply-to
         :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post
         :list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=U04Yn2rQ/E7Ogv121pZiGtOReRySLWvmTwk+4Q3C2B4=;
        b=IJacQ/y/uN5vcfhWpzjNY/k/JjlVbfQN7rRw767tEjZAy9Nvb8pGOWj0ajbp8aMrSC
         9LUzdz98l+Se74ipxW5eBeyqSiSWV1ifgxyqu9RWHgWGuwPevCZfhxGeVB4Hg4sSNskd
         rSgF+Fp8ByfX8FyuGZkRWpV/+aHa4rY/W75lysgb3VJM8zMD4kd8SJxcy1MUkbW4Wa75
         YKiHpFlMmnEFdDh6KhKNmAC6p4WuICVRkpSvWGA6UP04shEkSWAhCEbDRFFG1zCzgb9W
         cqOGqA37s5ngU5JqS3U9UJ+46ELi9/uGgtQlcyN39YHoqxNMUUtFwahhTJJmLAYGBj6+
         XgnA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:in-reply-to:references:from:date
         :message-id:subject:to:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=U04Yn2rQ/E7Ogv121pZiGtOReRySLWvmTwk+4Q3C2B4=;
        b=jD9cReDyDK+kvqpvLnR3wbNNh9oQKwVLQZ9bQWLaQnTSxvi6H9op1yMe61mQj74g58
         bVmSLNqKsYLQcB/JobR5+XhZ5quf0erNoQ5VBghSNtlVZz4Rl7dY+9ZwA2BZfnbRhjuH
         2e85VtKfntHuZPG/3vIfNf3jjEG5MSXwLR8K7uxBYBs241TLZBKIJ+SGrPlN+CbM//7c
         LLjaEWfotYtqrfwEOLsQpHm+JiH6X8XjhnqYt5/N3gvCX8bvpcRoK3ncqlMEDo9oM/wG
         cfnPqOVf77D9PGOc3PDVbXGzAnfmhFmXgrxbqePrbdZ0C8CU19rIfgovh3lPG075tUaI
         zDAA==
X-Gm-Message-State: AIkVDXIlqLEzXICPIQ3DRxlAn+/MrF0ZutwpxWNVdD4H0mia4/lgGEsfqm3zayW+BHcLhQ==
X-Received: by 10.99.104.9 with SMTP id d9mr12888862pgc.13.1482687249251;
        Sun, 25 Dec 2016 09:34:09 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.157.13.228 with SMTP id 91ls28037959ots.42.gmail; Sun, 25 Dec
 2016 09:34:08 -0800 (PST)
X-Received: by 10.176.3.86 with SMTP id 80mr19459350uat.157.1482687248659;
        Sun, 25 Dec 2016 09:34:08 -0800 (PST)
Original-Received: from mail-vk0-x234.google.com (mail-vk0-x234.google.com. [2607:f8b0:400c:c05::234])
        by mx.google.com with ESMTPS id c38si5980584uac.122.2016.12.25.09.34.08
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Sun, 25 Dec 2016 09:34:08 -0800 (PST)
Received-SPF: pass (google.com: domain of ville.voutilainen@gmail.com designates 2607:f8b0:400c:c05::234 as permitted sender) client-ip=2607:f8b0:400c:c05::234;
Original-Received: by mail-vk0-x234.google.com with SMTP id y197so46048202vky.2
        for <std-proposals@isocpp.org>; Sun, 25 Dec 2016 09:34:08 -0800 (PST)
X-Received: by 10.31.172.74 with SMTP id v71mr8604752vke.150.1482687248316;
 Sun, 25 Dec 2016 09:34:08 -0800 (PST)
Original-Received: by 10.103.50.74 with HTTP; Sun, 25 Dec 2016 09:34:07 -0800 (PST)
In-Reply-To: <2f450f27-18b4-440b-8f54-9fbc1e2598f9@isocpp.org>
X-Original-Sender: ville.voutilainen@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com;       spf=pass (google.com: domain of
 ville.voutilainen@gmail.com designates 2607:f8b0:400c:c05::234 as permitted
 sender) smtp.mailfrom=ville.voutilainen@gmail.com;       dmarc=pass (p=NONE
 dis=NONE) header.from=gmail.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:30023
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/30023>

On 25 December 2016 at 19:27, Nicol Bolas <jmckesson@gmail.com> wrote:
> We should not over-generalize what we're making here. I'm sure there's some
> need to split an arbitrary range into subranges based on an equality test of
> a value. But that should be a different function from splitting a string,
> based on quality-of-life for the resulting code.

+1,

we already have the over-general version, it's called std::mismatch.
Don't reinvent it, provide
a split that is easy to use, and don't strive for an over-general one
as we already have it.

-- 
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/CAFk2RUZvBrYRz%2BWVVrYOYh18Jr3PGsBEi2bnySi0-1fKWwtfEw%40mail.gmail.com.

.
