220 5518 <cee99339-573d-4c36-b9aa-67732df7bd47@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: Nicol Bolas <jmckesson@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: A library to provide a virtual memory vector
 of strings
Date: Tue, 23 Jul 2013 11:59:36 -0700 (PDT)
Lines: 83
Approved: news@gmane.org
Message-ID: <cee99339-573d-4c36-b9aa-67732df7bd47@isocpp.org>
References: <861959e9-74f3-4ed8-aeca-bad9c3256acd@isocpp.org>
 <52729d06-72f4-4d9d-a000-7cfa3af9837a@isocpp.org>
 <CAPXezF-v6nZUtp+FFbU6Ri09LGuPQNdge+fOOqSvDovqHXFMtQ@mail.gmail.com>
 <CACQQCoGmEw9AFBV+Sh71UuVSeHcUsR2YRmMpviLYgHdcvCpyVA@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_772_2238384.1374605976386"
X-Trace: ger.gmane.org 1374605977 14076 80.91.229.3 (23 Jul 2013 18:59:37 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Tue, 23 Jul 2013 18:59:37 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCEKFTV6ZUMBBGNFXOHQKGQEC3THLYY@isocpp.org Tue Jul 23 20:59:39 2013
Return-path: <std-proposals+bncBCEKFTV6ZUMBBGNFXOHQKGQEC3THLYY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ob0-f198.google.com ([209.85.214.198])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCEKFTV6ZUMBBGNFXOHQKGQEC3THLYY@isocpp.org>)
	id 1V1hoB-0006Je-4a
	for gclcip-std-proposals@m.gmane.org; Tue, 23 Jul 2013 20:59:39 +0200
Original-Received: by mail-ob0-f198.google.com with SMTP id up14sf34718109obb.5
        for <gclcip-std-proposals@m.gmane.org>; Tue, 23 Jul 2013 11:59:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=x-beenthere:date:from:to:message-id:in-reply-to:references:subject
         :mime-version:x-original-sender:reply-to:precedence:mailing-list
         :list-id:x-google-group-id:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe:content-type;
        bh=nPI4hl8gl78Dre6Nz/SBO61clbR5qZs95t+jijMVyZY=;
        b=0pzHKBVUPCLJ2zXT4zPCJWSOIBz+8EshNvfiaTTdbmI8weePNzJHYPcrL1eVdRDsGF
         cOpexP8Xp8vlEBn3A1za1GKmjM/gBnJsrM1eDjIZTVI3Y2a1fI9ywgBtLBqyREgId1QS
         lGznlWseuvpnW4ZHK/52LsnpEXBOHiQaGQQYIxX+RnotAqd3RIry+QEVB6l89SIDThkj
         YRyqVVlnbLwrM+Z9pQ4LIOhESsO3NHuZnvyX0bQkAD2uLF/4hDDi1GV5iCBhXMNKBPuh
         w1Y0fGpMxHN+iVcnw5sgw8rVxn2V956YE3tUZNVfR4Ajs2tuiziQn16UkvbwOpIwEthP
         YlZQ==
X-Received: by 10.42.191.145 with SMTP id dm17mr22967189icb.11.1374605978039;
        Tue, 23 Jul 2013 11:59:38 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.50.1.7 with SMTP id 7ls1217085igi.0.gmail; Tue, 23 Jul 2013
 11:59:37 -0700 (PDT)
X-Received: by 10.50.30.226 with SMTP id v2mr10221igh.17.1374605977380;
        Tue, 23 Jul 2013 11:59:37 -0700 (PDT)
In-Reply-To: <CACQQCoGmEw9AFBV+Sh71UuVSeHcUsR2YRmMpviLYgHdcvCpyVA@mail.gmail.com>
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: <http://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <http://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <http://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:5518
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/5518>

------=_Part_772_2238384.1374605976386
Content-Type: text/plain; charset=ISO-8859-1

On Tuesday, July 23, 2013 7:45:28 AM UTC-7, Steve Heller wrote:
>
> I admit that it *sounds* very special-case. But in practice it is a lot 
> more flexible than that. For example, my employer's programs use it in two 
> quite different applications, neither of which is a general string type. 
> Instead, it is used as the underlying storage mechanism for caching SQL 
> database records and for a domain-specific record type that is converted to 
> and from string representation (in this case, by the MFC CArchive facility).
>
> So rather than thinking of this as a virtual memory character string 
> facility, think of it as a mechanism for implementing file-based 
> variable-length data objects, and its more general applicability becomes 
> evident.
>

If that's what it's for, then you should probably describe and propose it 
that way.

Another thing I'm leery about is that you seem to be describing the 
implementation, rather than the behavior. The standard is generally built 
around describing behavior, thus allowing implementers the freedom to 
implement it as they see fit.

Tying this memory to files, for example, seems to be an implementation 
detail. Is there a more general way of describing it without dealing with 
implementation details?

-- 

--- 
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.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.



------=_Part_772_2238384.1374605976386
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Tuesday, July 23, 2013 7:45:28 AM UTC-7, Steve Heller wrote:<blockquote =
class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;border-left: 1p=
x #ccc solid;padding-left: 1ex;">I admit that it <b>sounds</b> very special=
-case. But in practice it is a lot more flexible than that. For example, my=
 employer's programs use it in two quite different applications, neither of=
 which is a general string type. Instead, it is used as the underlying stor=
age mechanism for caching SQL database records and for a domain-specific re=
cord type that is converted to and from string representation (in this case=
, by the MFC CArchive facility).<div>
<br></div><div>So rather than thinking of this as a virtual memory characte=
r string facility, think of it as a mechanism for implementing file-based v=
ariable-length data objects, and its more general applicability becomes evi=
dent.</div></blockquote><div><br>If that's what it's for, then you should p=
robably describe and propose it that way.<br><br>Another thing I'm leery ab=
out is that you seem to be describing the implementation, rather than the b=
ehavior. The standard is generally built around describing behavior, thus a=
llowing implementers the freedom to implement it as they see fit.<br><br>Ty=
ing this memory to files, for example, seems to be an implementation detail=
.. Is there a more general way of describing it without dealing with impleme=
ntation details?<br></div>

<p></p>

-- <br />
&nbsp;<br />
--- <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 std-proposals+unsubscribe@isocpp.org.<br />
To post to this group, send email to std-proposals@isocpp.org.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />
&nbsp;<br />
&nbsp;<br />

------=_Part_772_2238384.1374605976386--

.
