220 9234 <52F7B40E.5050701@mail1.stofanet.dk> article
Path: news.gmane.org!not-for-mail
From: Bjorn Reese <breese@mail1.stofanet.dk>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: Async variant of N3784
Date: Sun, 09 Feb 2014 17:59:58 +0100
Lines: 16
Approved: news@gmane.org
Message-ID: <52F7B40E.5050701@mail1.stofanet.dk>
References: <535ebb45-8fe4-408f-b042-462b212854e7@isocpp.org> <2bcb57a2-f98d-4468-b908-7775caef15e0@isocpp.org> <c005ccec-6044-4c08-93ae-7e774c9421ca@isocpp.org> <4a6b1f48-ce76-49b2-8e72-63139c2a036f@isocpp.org> <b7144bb9-a4c3-4a71-9759-46af615ae47c@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; format=flowed
X-Trace: ger.gmane.org 1391965196 32439 80.91.229.3 (9 Feb 2014 16:59:56 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Sun, 9 Feb 2014 16:59:56 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCRLNYMEK4II72G6S4CRUBAOLUV2M@isocpp.org Sun Feb 09 18:00:01 2014
Return-path: <std-proposals+bncBCRLNYMEK4II72G6S4CRUBAOLUV2M@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-la0-f71.google.com ([209.85.215.71])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCRLNYMEK4II72G6S4CRUBAOLUV2M@isocpp.org>)
	id 1WCXjc-0005Q2-TN
	for gclcip-std-proposals@m.gmane.org; Sun, 09 Feb 2014 18:00:00 +0100
Original-Received: by mail-la0-f71.google.com with SMTP id c6sf8352297lan.6
        for <gclcip-std-proposals@m.gmane.org>; Sun, 09 Feb 2014 09:00:00 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to
         :subject:references:in-reply-to:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:list-post:list-help:list-archive:list-subscribe
         :list-unsubscribe:content-type;
        bh=lvOn3oZuYVJws2pcv9Gh/8i3MIa3DMbFp40BDyR4PeQ=;
        b=YY6lVuxXjCHi8VuwGY4/jXtf/2FS0zx64a+MT2teZdDfR2NehW9x4zPTeDkgUOrzwf
         ufcCH9soPhwTZrBdE60WCXa9eiGqG7fTEhRENoPn5jWgDcJUPKDGItuD7AqorjwBNqSg
         99fBO3icCLYxA+5fdiCl9dk6XghSy6Non6NsCBvbM7jpKTbVmwPF7oR6Chk9UBOIpt/v
         +2Qa2S3ZaijTqKdZxfAtJxQF7oME3eYTNvv7ZHOabllcJinmSqpe/4Yri4E6ywYow+ig
         yoGGDhQarcxF//BxNg5pXc4kTUc+4fevcM2sOX/5CFejAjoWS50pQL3GIcP5OBntJvK4
         aiTw==
X-Gm-Message-State: ALoCoQl60fyq8w2TmiytIUH5WAFmBPfnYEiy9qJdDUhhZZ7DfQqRkToE/GadhoJ3L+Gpjyhpq4b/
X-Received: by 10.180.89.5 with SMTP id bk5mr5216561wib.0.1391965200371;
        Sun, 09 Feb 2014 09:00:00 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.180.76.116 with SMTP id j20ls379066wiw.10.gmail; Sun, 09 Feb
 2014 08:59:58 -0800 (PST)
X-Received: by 10.14.178.1 with SMTP id e1mr45973eem.101.1391965198878;
        Sun, 09 Feb 2014 08:59:58 -0800 (PST)
Original-Received: from mx-aarh-3.stofanet.dk (mx-aarh-3.stofanet.dk. [212.10.10.13])
        by mx.google.com with ESMTPS id 43si21016227eeh.52.2014.02.09.08.59.58
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=RC4-SHA bits=128/128);
        Sun, 09 Feb 2014 08:59:58 -0800 (PST)
Received-SPF: pass (google.com: domain of breese@mail1.stofanet.dk designates 212.10.10.13 as permitted sender) client-ip=212.10.10.13;
Original-Received: from 56342782.rev.stofanet.dk ([86.52.39.130] helo=[192.168.1.145])
	by mx-aarh-3.stofanet.dk (envelope-from
	<breese@mail1.stofanet.dk>)
	with esmtpa id 1WCXja-0002ch-1t
	for std-proposals@isocpp.org; Sun, 09 Feb 2014 17:59:58 +0100
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
In-Reply-To: <b7144bb9-a4c3-4a71-9759-46af615ae47c@isocpp.org>
X-Original-Sender: breese@mail1.stofanet.dk
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of breese@mail1.stofanet.dk designates 212.10.10.13 as permitted
 sender) smtp.mail=breese@mail1.stofanet.dk
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:9234
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/9234>

On 02/05/2014 09:18 PM, lcidfire@gmail.com wrote:

> Well, if you think about it, future::get only does a synchronization,
> should the value not be ready yet. So instead of that the
> continuator::get would throw an exception if the value is not ready yet.

Another way to do this is to add a future::try_get().

-- 

--- 
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/.

.
