220 3716 <99863c32-d227-4a49-9270-2b035013a0f7@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: =?UTF-8?Q?R=C3=B3bert_D=C3=A1vid?= <lrdxgm@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: Shared Array
Date: Mon, 15 Apr 2013 01:22:57 -0700 (PDT)
Lines: 92
Approved: news@gmane.org
Message-ID: <99863c32-d227-4a49-9270-2b035013a0f7@isocpp.org>
References: <a13a1297-4251-44c1-ba4c-8780f9112d4b@isocpp.org>
 <fad07818-2713-4d2e-9078-a84cbc0fe45e@isocpp.org>
 <207ec14a-1cfc-473b-82ff-804254888772@isocpp.org>
 <CAA7U3HM5+JQv7Dk2ydKpQ_eqzmccrd=34y4drdNabt1P=EP8Zg@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_1454_26560893.1366014177434"
X-Trace: ger.gmane.org 1366014178 23301 80.91.229.3 (15 Apr 2013 08:22:58 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Mon, 15 Apr 2013 08:22:58 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBDMKHJ4B6MARBYXRV2FQKGQECDFKO4A@isocpp.org Mon Apr 15 10:23:03 2013
Return-path: <std-proposals+bncBDMKHJ4B6MARBYXRV2FQKGQECDFKO4A@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ve0-f198.google.com ([209.85.128.198])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBDMKHJ4B6MARBYXRV2FQKGQECDFKO4A@isocpp.org>)
	id 1URegl-0001b6-M3
	for gclcip-std-proposals@m.gmane.org; Mon, 15 Apr 2013 10:22:59 +0200
Original-Received: by mail-ve0-f198.google.com with SMTP id 14sf1427395vea.1
        for <gclcip-std-proposals@m.gmane.org>; Mon, 15 Apr 2013 01:22:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=x-received:x-beenthere:x-received: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=qsr3S38gkMmqkB1wW/c8xoALAy2XOmzz3nUkSY+QG34=;
        b=Dbi1ZQimAGUtqg42h3RcUgmHGZgqP45BYtIUwuJ3sJl+CFyR5ueB82/69rWTskFcT2
         2/7CB66QO1Xg+2HrGa3Doy2cVjyRt8PVoyQ6c1qwI16W/KVNNdBYmtHjae8NVlBjiRuZ
         QeqWynK0sx5W2OpPc18dPoE2mTAT86D8VtbJgASOXxMP9uHPzDGga1Dvcj8VLhz+d1Qf
         RbgTRub8DBtS9En37TlTb4gM+Kqz//Ak4sY62O5XbhGRjwnGs9gJ8SVvpnQ7Hf1bIaqJ
         mp7Z4xvnuP2fNNbVe04aTBlse/+Tu6dBEB+b0MfyRKGVKefkOp/uuihFbuAr7BTxEqXe
         g9xw==
X-Received: by 10.224.18.132 with SMTP id w4mr12781723qaa.1.1366014178679;
        Mon, 15 Apr 2013 01:22:58 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.49.5.10 with SMTP id o10ls2140867qeo.69.gmail; Mon, 15 Apr
 2013 01:22:57 -0700 (PDT)
X-Received: by 10.49.103.135 with SMTP id fw7mr1499207qeb.38.1366014177767;
        Mon, 15 Apr 2013 01:22:57 -0700 (PDT)
In-Reply-To: <CAA7U3HM5+JQv7Dk2ydKpQ_eqzmccrd=34y4drdNabt1P=EP8Zg@mail.gmail.com>
X-Original-Sender: lrdxgm@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?hl=en>,
 <mailto:std-proposals@isocpp.org>
List-Help: <http://support.google.com/a/isocpp.org/bin/topic.py?hl=en&topic=25838>,
 <mailto:std-proposals+help@isocpp.org>
List-Archive: <http://groups.google.com/a/isocpp.org/group/std-proposals/?hl=en>
List-Subscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe?hl=en>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe?hl=en>,
 <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:3716
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/3716>

------=_Part_1454_26560893.1366014177434
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: quoted-printable



2013. =E1prilis 14., vas=E1rnap 20:21:59 UTC+2 id=F5pontban Olaf van der Sp=
ek a=20
k=F6vetkez=F5t =EDrta:
>
> On Sun, Apr 14, 2013 at 5:44 PM, R=F3bert D=E1vid <lrd...@gmail.com<javas=
cript:>>=20
> wrote:=20
> > It can be a std::shared_ptr<std::vector<unsigned char>> or=20
>
> How does one get the memory mapped data into a vector? Obviously the=20
> data shouldn't be copied.=20
>

I don't see an issue, it's the same way it is going to get into an array..


> > std::shared_ptr<std::array<unsigned char, 10>>, or if you need constant=
=20
>
> Are you seriously suggesting a fixed-size array?=20
>
=20
You didn't tell any details, I just suggested three possible return types,=
=20
based on "how const" your data is.

Regards, Robert

--=20

---=20
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 e=
mail 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-proposa=
ls/?hl=3Den.



------=_Part_1454_26560893.1366014177434
Content-Type: text/html; charset=ISO-8859-2
Content-Transfer-Encoding: quoted-printable

<br><br>2013. =E1prilis 14., vas=E1rnap 20:21:59 UTC+2 id=F5pontban Olaf va=
n der Spek a k=F6vetkez=F5t =EDrta:<blockquote class=3D"gmail_quote" style=
=3D"margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: =
1ex;">On Sun, Apr 14, 2013 at 5:44 PM, R=F3bert D=E1vid &lt;<a href=3D"java=
script:" target=3D"_blank" gdf-obfuscated-mailto=3D"qlwVq_eaiN0J">lrd...@gm=
ail.com</a>&gt; wrote:
<br>&gt; It can be a std::shared_ptr&lt;std::vector&lt;<wbr>unsigned char&g=
t;&gt; or
<br>
<br>How does one get the memory mapped data into a vector? Obviously the
<br>data shouldn't be copied.
<br></blockquote><div><br>I don't see an issue, it's the same way it is goi=
ng to get into an array..<br><br></div><blockquote class=3D"gmail_quote" st=
yle=3D"margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-lef=
t: 1ex;">
<br>&gt; std::shared_ptr&lt;std::array&lt;<wbr>unsigned char, 10&gt;&gt;, o=
r if you need constant
<br>
<br>Are you seriously suggesting a fixed-size array?
<br></blockquote><div>&nbsp;<br>You didn't tell any details, I just suggest=
ed three possible return types, based on "how const" your data is.<br><br>R=
egards, Robert<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/?hl=3Den">http://groups.google.com/a/isocpp.org/group/std-pro=
posals/?hl=3Den</a>.<br />
&nbsp;<br />
&nbsp;<br />

------=_Part_1454_26560893.1366014177434--

.
