220 33854 <586cd0e2-2fd9-4af0-814c-7ca19ecac410@isocpp.org> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Nicol Bolas <jmckesson@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: string_view for fstream::open()
Date: Fri, 11 Aug 2017 15:48:14 -0700 (PDT)
Lines: 67
Approved: news@gmane.org
Message-ID: <586cd0e2-2fd9-4af0-814c-7ca19ecac410@isocpp.org>
References: <cb7b55ab-7113-4d99-949b-8568627d0b7f@isocpp.org> <CANh-dX=_vJGW1nxKEEjiSJ_=-+hkUab6i5KVSWJYe03ooBmnfA@mail.gmail.com> <CAA7U3HM=a7==w_ruj=7XAE-00KC2nDJh5wtodhQgW3v8LuVWEA@mail.gmail.com>
 <3456831.gsseCm4DuK@tjmaciei-mobl1>
 <6240d6af-a518-4788-a56f-b7d0c8976dc4@isocpp.org>
 <01739e89-fc83-428b-94d5-e4e06927cc80@isocpp.org>
 <c779961a-2aa5-437f-994e-d7df2573e8f5@isocpp.org>
 <25b20004-c1b3-4844-b957-ef57e043b533@isocpp.org>
 <15b49197-b38b-47be-aefb-0786af7635f2@isocpp.org>
 <188dc31c-df5e-4fe1-ad85-847d3d732880@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_2564_389094282.1502491694795"
X-Trace: blaine.gmane.org 1502491696 31870 195.159.176.226 (11 Aug 2017 22:48:16 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Fri, 11 Aug 2017 22:48:16 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCEKFTV6ZUMBBL7IXDGAKGQEW6SQ23Y@isocpp.org Sat Aug 12 00:48:12 2017
Return-path: <std-proposals+bncBCEKFTV6ZUMBBL7IXDGAKGQEW6SQ23Y@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+bncBCEKFTV6ZUMBBL7IXDGAKGQEW6SQ23Y@isocpp.org>)
	id 1dgIiw-0007uq-Cr
	for gclcip-std-proposals@m.gmane.org; Sat, 12 Aug 2017 00:48:10 +0200
Original-Received: by mail-pg0-f69.google.com with SMTP id w187sf51104281pgb.10
        for <gclcip-std-proposals@m.gmane.org>; Fri, 11 Aug 2017 15:48:17 -0700 (PDT)
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=CYz5JARLCSRYcVvk43fbd0qzfh8ULbKPDcMZfRY9nQQ=;
        b=0UwFnJjiVYDEYPhXq3OxsIlZa3a7gXK1oZXR0QtVyCpgZfV74NH408zj1HDW/WTl54
         IGMHT992J0ZXib8J4KnRXExX0IF/4uusZUWLMMyiOPlDYBxuKiCwuuh4k9D6bo3x9nnV
         apUfIb9L/rdo93gKGCfs8AGh1khR9qlF7C+QxK+mxF++1uSAWa8O2zvLozVIpjeouo11
         pj3vIpp2QGCpIrZT17IV436FymjXNHHh6IY2rZoEWt8hAO0IPzi3mArHdWiBkRP7NVow
         t3V3njQF2Zvx7ePPq6nd/wydv2IeNU2wPEkZ/JHwT1ci/f277PDUxKg5red6MQJM9zO3
         4hKw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        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=CYz5JARLCSRYcVvk43fbd0qzfh8ULbKPDcMZfRY9nQQ=;
        b=biYqLMexSv0xfi7BcfeFDA/EVxVsqOsyf2MI39jKuXn7X0ZnY+R5DunYcf8LwMthLN
         HP4V5wVAwEhW2+2RfJzPgLNyqvmdd+C8FvTnvh++1zj0VSI7i6y5sD50dUGMuFoxOA5f
         E1Reo1dCLNGBlDKNdU4D4qcnt28guiK17y85IZ0E9agk+ScAnjulGcaNMICOM+fIaK7G
         Cyis2ZTekLZGnThTRWkmCGBgqZiYSAxIz1/6Hnpn/InQes4KyHcVl2OfANsZUTmotN0l
         jlTLSiLygdmxsfJw+EXTkd6fQfV28Fy3BYhAd5jISzQpHH69P3Y/CrvZpmvTxrddBcu8
         K9Dg==
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=CYz5JARLCSRYcVvk43fbd0qzfh8ULbKPDcMZfRY9nQQ=;
        b=mMdcp5y0LfDowNHM81+uWb5FCfVeECiO5NPZFNPqrIwrYdLiWKj0TeYcdTIocUIG08
         JUYpRDdF3ROH2yr0pLjs0kZAFA3D/kigvs3oYMLgStC3+m9TpICMcvP3D9lP0n3zXF2d
         aKPs0ZiBIwJHaYiAl7hPlWfmO7NUU/etuLCbq00h1eX0H/d0M/cJFsal5eZjHxQKqWTY
         nRTYVHdP8jl6oA4SEV4BjyKYFJ9BGkL6v0om1hLTUgvzdJqH2c4sMz4AAHeG6pKt9vB6
         ZQ1Lv0+zN+aF7QRIcKjychm4aYkTApPLwlxS8UG4+g5pVz3qol/Hs2i6B2y1tvjEyQYI
         /qog==
X-Gm-Message-State: AHYfb5hGoO7qUq70+UbO3d634x79Zs9akWJo1Bu1bZ3zrKi/Yneh2rND
	xRoKqSWvxVoVAdXo
X-Received: by 10.99.160.106 with SMTP id u42mr11353140pgn.176.1502491696342;
        Fri, 11 Aug 2017 15:48:16 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.36.67.133 with SMTP id s127ls374633itb.8.canary-gmail; Fri, 11
 Aug 2017 15:48:15 -0700 (PDT)
X-Received: by 10.31.164.205 with SMTP id n196mr103560vke.22.1502491695262;
        Fri, 11 Aug 2017 15:48:15 -0700 (PDT)
In-Reply-To: <188dc31c-df5e-4fe1-ad85-847d3d732880@isocpp.org>
X-Original-Sender: jmckesson@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:33854
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/33854>

------=_Part_2564_389094282.1502491694795
Content-Type: multipart/alternative; 
	boundary="----=_Part_2565_470656277.1502491694796"

------=_Part_2565_470656277.1502491694796
Content-Type: text/plain; charset="UTF-8"

On Friday, August 11, 2017 at 6:29:23 PM UTC-4, Niall Douglas wrote:
>
>
>> Or we can just have a single `filesystem::path` type, which you can get 
>> views of with existing types. I prefer that option.
>>
>
> As already covered in great detail by now, if fed a string_view then one 
> is mandated to memcpy the lot so it can be zero terminated before sending 
> it to the file path consuming syscall.
>

A problem easily solved with the types we're talking about. We don't need a 
replacement for `filesystem::path`. We *certainly* don't need some 32KB 
type...

-- 
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/586cd0e2-2fd9-4af0-814c-7ca19ecac410%40isocpp.org.

------=_Part_2565_470656277.1502491694796
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">On Friday, August 11, 2017 at 6:29:23 PM UTC-4, Niall Doug=
las wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left:=
 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir=3D"ltr"><bl=
ockquote class=3D"gmail_quote" style=3D"margin:0;margin-left:0.8ex;border-l=
eft:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div><br>Or we can ju=
st have a single `filesystem::path` type, which you can get views of with e=
xisting types. I prefer that option.</div></div></blockquote><div><br></div=
><div>As already covered in great detail by now, if fed a string_view then =
one is mandated to memcpy the lot so it can be zero terminated before sendi=
ng it to the file path consuming syscall.</div></div></blockquote><div><br>=
A problem easily solved with the types we&#39;re talking about. We don&#39;=
t need a replacement for `filesystem::path`. We <i>certainly</i> don&#39;t =
need some 32KB type...<br></div></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/586cd0e2-2fd9-4af0-814c-7ca19ecac410%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/586cd0e2-2fd9-4af0-814c-7ca19ecac410=
%40isocpp.org</a>.<br />

------=_Part_2565_470656277.1502491694796--

------=_Part_2564_389094282.1502491694795--

.
