220 13938 <8a74f08b-7453-4d1a-9f20-bc1d3866617c@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: Myriachan <myriachan@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Reconstruct function idea
Date: Wed, 15 Oct 2014 14:17:54 -0700 (PDT)
Lines: 74
Approved: news@gmane.org
Message-ID: <8a74f08b-7453-4d1a-9f20-bc1d3866617c@isocpp.org>
References: <ff612334-ae16-43d1-a650-580d0ce635f2@isocpp.org>
 <CAGg_6+OH-P=uxCx7YEWdJSRtrRfBYhGXh55eymvyM9Vjr+yKMg@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_5533_1128287717.1413407875193"
X-Trace: ger.gmane.org 1413407887 13375 80.91.229.3 (15 Oct 2014 21:18:07 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Wed, 15 Oct 2014 21:18:07 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBDKLT4PURQHRBBOJ7OQQKGQEWT2SKRI@isocpp.org Wed Oct 15 23:18:01 2014
Return-path: <std-proposals+bncBDKLT4PURQHRBBOJ7OQQKGQEWT2SKRI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-qc0-f199.google.com ([209.85.216.199])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBDKLT4PURQHRBBOJ7OQQKGQEWT2SKRI@isocpp.org>)
	id 1XeVxG-0000RP-RL
	for gclcip-std-proposals@m.gmane.org; Wed, 15 Oct 2014 23:17:58 +0200
Original-Received: by mail-qc0-f199.google.com with SMTP id i17sf4275163qcy.6
        for <gclcip-std-proposals@m.gmane.org>; Wed, 15 Oct 2014 14:17:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        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
         :content-type;
        bh=DjAno2SjtmPn6KRnqfgWR0mHYDILqytUUwuuuXeTPZY=;
        b=h8vyYr+jWKlSCbEcZXT4e4nX4c1mMjbSCYS+HZ6pmYYhjswtY41nOmCFKuH+xVzMLL
         eOtHmceOnvmHu8CVelfCqWBEfhE4ZV4K+2KNsJMZCO0QGPh694h9MdkdNju2Y3bY4C4I
         ykUJEd92blP07FbZq0JGFqNNgjHjM9lLjZN5W8Bmg3J2G5ZadASZ2WEujruVl+9x6VJp
         qXnZjfLte61eUh+k+cmraQ1ubhVDpQpvsoOfAe9yKbZC5LOlU6EGJlxOEd1FYUwkzt+8
         d23rwNRI2cKZVr7sA1UDot7i3+0lvSFiHdlkkbgcnAsIZ8HDvQJSxo/Lx0BlO+9i5/F3
         KFyw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        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:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe:content-type;
        bh=DjAno2SjtmPn6KRnqfgWR0mHYDILqytUUwuuuXeTPZY=;
        b=WfGIeBh0m9hnVvzOZiKhH85P5Z1ZUQ61BfeEcPZZUGfm0z+HFvyacoHVCoxw3bxXDF
         Eeay+uNLD9Rgy+Z7RAxY4o1ad65+9VXTFecuhTKMQlEdEGPc/XqEM1WNM0Fr0ahZTXEi
         Q/Kyd0XyfJGHeI0Tr0EuLhZ/WPzHUDckw0t+Pz21zGEvwk9/xc5t3U4ZsyjXmhDW91fN
         BF5vK9pnqnSj4Z10N0ilfB4Dc8c0WQTNnjYbopcck5mX6CujugRcv7DlgjCzPckoLzpL
         pM1VuLryC93ZYkQ3Ymr89XRAEx0XxgrfMoqM9Nt0sZ/eGG4jGXDwVQQjpYzqEgshmyRF
         rZTw==
X-Gm-Message-State: ALoCoQnMkRFzvY6h3hMUFXS2UiIQWS3iFoynlnSNT6I8cao51efXbYodQH23ZZ1ih2ZE/dTP7ZOH
X-Received: by 10.236.206.113 with SMTP id k77mr7130935yho.56.1413407877670;
        Wed, 15 Oct 2014 14:17:57 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.107.9.157 with SMTP id 29ls309411ioj.97.gmail; Wed, 15 Oct
 2014 14:17:56 -0700 (PDT)
X-Received: by 10.50.73.4 with SMTP id h4mr9444igv.0.1413407876971;
        Wed, 15 Oct 2014 14:17:56 -0700 (PDT)
In-Reply-To: <CAGg_6+OH-P=uxCx7YEWdJSRtrRfBYhGXh55eymvyM9Vjr+yKMg@mail.gmail.com>
X-Original-Sender: myriachan@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: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:13938
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/13938>

------=_Part_5533_1128287717.1413407875193
Content-Type: text/plain; charset=UTF-8

On Wednesday, October 15, 2014 2:04:38 PM UTC-7, Nevin ":-)" Liber wrote:
>
> On 15 October 2014 16:01, Myriachan <myri...@gmail.com <javascript:>> 
> wrote:
>
>> What about a library function called std::reconstruct or similar to 
>> destroy and reconstruct an object in place?
>>
>
> It's called std::experimental::optional.
> -- 
>  Nevin ":-)" Liber  <mailto:ne...@eviloverlord.com <javascript:>>  (847) 
> 691-1404 
>

While that is a nice feature, it's not the same as needing to do this to 
types that weren't created as std::optional<T>. 

Melissa

-- 

--- 
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_5533_1128287717.1413407875193
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">On Wednesday, October 15, 2014 2:04:38 PM UTC-7, Nevin ":-=
)" Liber 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=
">On 15 October 2014 16:01, Myriachan <span dir=3D"ltr">&lt;<a href=3D"java=
script:" target=3D"_blank" gdf-obfuscated-mailto=3D"i4a02d810LAJ" onmousedo=
wn=3D"this.href=3D'javascript:';return true;" onclick=3D"this.href=3D'javas=
cript:';return true;">myri...@gmail.com</a>&gt;</span> wrote:<br><div><div =
class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0 0=
 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">What =
about a library function called std::reconstruct or similar to destroy and =
reconstruct an object in place?<br></div></blockquote><div><br></div><div>I=
t's called std::experimental::optional.</div></div>-- <br>&nbsp;Nevin ":-)"=
 Liber&nbsp; &lt;mailto:<a href=3D"javascript:" target=3D"_blank" gdf-obfus=
cated-mailto=3D"i4a02d810LAJ" onmousedown=3D"this.href=3D'javascript:';retu=
rn true;" onclick=3D"this.href=3D'javascript:';return true;">ne...@evilover=
lord.com</a><wbr>&gt;&nbsp; (847) 691-1404
</div></div></blockquote><div><br>While that is a nice feature, it's not th=
e same as needing to do this to types that weren't created as <span style=
=3D"font-family: courier new,monospace;">std::optional&lt;T&gt;</span>. <br=
><br>Melissa<br></div></div>

<p></p>

-- <br />
<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 <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 />
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 />

------=_Part_5533_1128287717.1413407875193--

.
