220 24656 <CAFk2RUaZ6v_C0vakjKqpntwkdfbCcML-An52f_ssOmRv-fXOqQ@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Ville Voutilainen <ville.voutilainen@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: String View Status?
Date: Wed, 24 Feb 2016 21:10:15 +0200
Lines: 33
Approved: news@gmane.org
Message-ID: <CAFk2RUaZ6v_C0vakjKqpntwkdfbCcML-An52f_ssOmRv-fXOqQ@mail.gmail.com>
References: <ac814908-ca45-43db-9b96-ecbb4216e361@isocpp.org>
	<90aa729e-e9b7-436f-abe5-ed856f0fd561@isocpp.org>
	<CANh-dX=L+=RuewhuL68rEBOhEYvg-LQf-zWenF2gGWd3Qb2bng@mail.gmail.com>
	<477b147e-f082-4ccd-b286-0c174f02321d@isocpp.org>
	<CAB+4KHKiaUtHe5A1yYDHp0qPRHBHg1q46sf7JQ4DjnJCyhKFzQ@mail.gmail.com>
	<5bf5ca4e-c38d-4e75-abd0-7181708d73b7@isocpp.org>
	<CANh-dXk7svEJbs15JoavwRFtziYFropk30EcR4JLMd3rgFfbQw@mail.gmail.com>
	<1f0bc9e9-79a9-468a-bd66-080096a19861@isocpp.org>
	<CAFk2RUbejRStAXExRwfxVbrSNKfJbxJL0rFfYwRLe49DAf4EPA@mail.gmail.com>
	<bc409340-6438-4643-8c37-c7e55687d3c5@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
X-Trace: ger.gmane.org 1456341030 13585 80.91.229.3 (24 Feb 2016 19:10:30 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Wed, 24 Feb 2016 19:10:30 +0000 (UTC)
To: "ISO C++ Standard - Future Proposals" <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBC5JHI7A7ALRBGEAXC3AKGQEVNHIMEA@isocpp.org Wed Feb 24 20:10:21 2016
Return-path: <std-proposals+bncBC5JHI7A7ALRBGEAXC3AKGQEVNHIMEA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-oi0-f70.google.com ([209.85.218.70])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBC5JHI7A7ALRBGEAXC3AKGQEVNHIMEA@isocpp.org>)
	id 1aYepG-0001f0-GC
	for gclcip-std-proposals@m.gmane.org; Wed, 24 Feb 2016 20:10:18 +0100
Original-Received: by mail-oi0-f70.google.com with SMTP id x21sf58749260oix.0
        for <gclcip-std-proposals@m.gmane.org>; Wed, 24 Feb 2016 11:10:18 -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:date:message-id:subject:from:to
         :content-type: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=RQ0Vs7GVIxTlyuYlmgUqWdkqHXn8r76U89omb55QwfY=;
        b=QNWOmVkEe/1w/6UJaVfsvfCSj4Buo7XaWPLzHvsbUQC3frfI9DLDtmRZScBZnEpnKJ
         iDa+wmDsYrwATGlBwEWLeLMT4qAQtEk8LsqJp3c160XvpKkJ5YI83qK3PAYmRujtFli+
         VBuMJzEUlJ83ndWhW3oQTSn8Y/abmCQbYxp8sB06F9k4AAIWU2fgyff7XwOl6BtC6qSW
         auQ3Mb8FxvbR8rRhX5pzFlfhBugpIDmNBdbD2ndLjpUgl6orm3/RF2dMZ61Qo3mJVwiJ
         yNEaTtBHwjlaCXzSjg0WC7UMRUZxSrzy+n3FdljLzJYyA/8loOr8B/vE9ERx1ZJSsORY
         jOpA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:in-reply-to:references:date
         :message-id:subject:from:to:content-type: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=RQ0Vs7GVIxTlyuYlmgUqWdkqHXn8r76U89omb55QwfY=;
        b=VZpLaaGbc8eFnpAE2V6sxEfGNfFJjwP+fIxCjACZhb9XXohp/OnRnClMPiF6Vt6eqy
         +9Fj/baRlfGmFTMBi66wG6loMugyuZQ5TZAaxWay9AddabHwDgBulw8PRBeehXaNK9ip
         nbhUv8syJSbKD26xJ3q94EJ0eq6FepaRkYKFaIuOk45Twy6SZTk+4htlNj63flE9uZhg
         K4Hm7e/G8HP91LOqLqxb4yOox/YHLnd4eD8z1l+yus61rM3Dnx1a/BFBoQu/D6C8Lq1J
         rX84fRy4OQ/ju37GDLM2mBmtt2ctLzsiZRUs3dA1kXjFKEHjQz5IKUvFradmz4XeLyQZ
         +RVA==
X-Gm-Message-State: AG10YORYsuhHVXWhQHZEZRRrTL1rcbxfafdwi7J1rOX9/zJxYunWz9TVEbPajueQ3unOkQ==
X-Received: by 10.50.66.146 with SMTP id f18mr22450213igt.8.1456341017644;
        Wed, 24 Feb 2016 11:10:17 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.140.41.134 with SMTP id z6ls2119067qgz.32.gmail; Wed, 24 Feb
 2016 11:10:16 -0800 (PST)
X-Received: by 10.31.60.134 with SMTP id j128mr34743714vka.43.1456341016369;
        Wed, 24 Feb 2016 11:10:16 -0800 (PST)
Original-Received: from mail-vk0-x22a.google.com (mail-vk0-x22a.google.com. [2607:f8b0:400c:c05::22a])
        by mx.google.com with ESMTPS id f22si2571223vki.23.2016.02.24.11.10.16
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Wed, 24 Feb 2016 11:10:16 -0800 (PST)
Received-SPF: pass (google.com: domain of ville.voutilainen@gmail.com designates 2607:f8b0:400c:c05::22a as permitted sender) client-ip=2607:f8b0:400c:c05::22a;
Original-Received: by mail-vk0-x22a.google.com with SMTP id e185so26340001vkb.1
        for <std-proposals@isocpp.org>; Wed, 24 Feb 2016 11:10:16 -0800 (PST)
X-Received: by 10.31.183.209 with SMTP id h200mr34214961vkf.141.1456341016195;
 Wed, 24 Feb 2016 11:10:16 -0800 (PST)
Original-Received: by 10.103.112.131 with HTTP; Wed, 24 Feb 2016 11:10:15 -0800 (PST)
In-Reply-To: <bc409340-6438-4643-8c37-c7e55687d3c5@isocpp.org>
X-Original-Sender: ville.voutilainen@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of ville.voutilainen@gmail.com designates 2607:f8b0:400c:c05::22a as
 permitted sender) smtp.mailfrom=ville.voutilainen@gmail.com;       dkim=pass
 header.i=@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-Spam-Checked-In-Group: 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:24656
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/24656>

On 24 February 2016 at 19:43, Nicol Bolas <jmckesson@gmail.com> wrote:
> On Wednesday, February 24, 2016 at 9:54:45 AM UTC-5, Ville Voutilainen
> wrote:
>>
>> On 24 February 2016 at 16:44, Nicol Bolas <jmck...@gmail.com> wrote:
>> >> I'm definitely looking for use cases for modifying the data pointed to
>> >> by
>> >> a string_view, where you're not equally well-served by a span<char>.
>> > You mean besides the very important semantic distinction between "this
>> > is an
>> > array of bytes" and "this is a string"? A function that takes
>> > `span<char>`
>> > is taking a byte array. A function that takes `string_span<char>` could
>> > is
>> > taking a string and it will interpret its bytes as such.
>>
>> I don't quite follow what you mean by "taking a string and will
>> interpret its bytes as such".
>
>
> That it might do things with it that you do with strings, which are distinct
> from actions you take with arbitrary byte arrays.

Well, neither string_view nor string_span guarantee that you're
dealing with a "string", whatever you
choose to mean by that.

-- 
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/CAFk2RUaZ6v_C0vakjKqpntwkdfbCcML-An52f_ssOmRv-fXOqQ%40mail.gmail.com.

.
