220 16058 <fd3997e6-24e3-4d78-a1c3-10bb0999e796@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: =?UTF-8?Q?Andrzej_Krzemie=C5=84ski?= <akrzemi1@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: RFC: Adding Coherency Between any and optional<T>
Date: Thu, 5 Feb 2015 14:04:19 -0800 (PST)
Lines: 92
Approved: news@gmane.org
Message-ID: <fd3997e6-24e3-4d78-a1c3-10bb0999e796@isocpp.org>
References: <54C36998.3070600@wanadoo.fr>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_916_1439292539.1423173859280"
X-Trace: ger.gmane.org 1423173862 25250 80.91.229.3 (5 Feb 2015 22:04:22 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Thu, 5 Feb 2015 22:04:22 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBDT2DGOJ34DBBY6RZ6TAKGQEVJNA2LY@isocpp.org Thu Feb 05 23:04:21 2015
Return-path: <std-proposals+bncBDT2DGOJ34DBBY6RZ6TAKGQEVJNA2LY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-qc0-f200.google.com ([209.85.216.200])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBDT2DGOJ34DBBY6RZ6TAKGQEVJNA2LY@isocpp.org>)
	id 1YJUX7-00007v-Bg
	for gclcip-std-proposals@m.gmane.org; Thu, 05 Feb 2015 23:04:21 +0100
Original-Received: by mail-qc0-f200.google.com with SMTP id l6sf26201945qcy.3
        for <gclcip-std-proposals@m.gmane.org>; Thu, 05 Feb 2015 14:04:20 -0800 (PST)
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
         :content-type:x-original-sender:reply-to:precedence:mailing-list
         :list-id:list-post:list-help:list-archive:list-subscribe
         :list-unsubscribe;
        bh=9dhIE1avO2qKkUMFZKLrETAUK8X1ANG9ZurtyqjmF08=;
        b=qYW3tVOCrg9vb1E4y92yQYSFdkOZZpiMXd/O/YRpXFUOxoYq8pdjqcfUv9uqYNe849
         MVJwgjb8Y0A6oaolGgGK0Hb0+ugwDWpXqmOQU7UpTuTWDVv3onnb9jOrZX+BocK53ZvS
         UxDZoU6EfD19pfxMiwjoz9EYrOP0NSsdL9JhaCRDVa0Tek3GjoAai6Aum3IQoo+mkm1m
         Ryn0yWfiMINQ9QZQUiYW85UWZyyR1Mx943HVcTr04gDCixcj+k8GLo+WyJ+4crCGvERv
         CBF7BYcWGVkw9DtTHegi2lzJlbBs4x2wiCRdDuKoiLd2JzC+2etYxP4DcqkVqsVLSnIJ
         9WDQ==
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:content-type:x-original-sender:reply-to
         :precedence:mailing-list:list-id:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=9dhIE1avO2qKkUMFZKLrETAUK8X1ANG9ZurtyqjmF08=;
        b=IOHARLh0XI/dbCyypSZL4Eg0/T7I/0p6bYak59uAkAuafnGLgaEV7sRzyc9ZAaA7t5
         HVU99yPv9BFY3DmvG/385NPTHAP9Svo/q7tOVtgjF32064exkAE5QdfZZiz5yEq8UvJK
         C+auozD4OBzKRi0NgS8musuiizkcxzgK5/e5BkekpBT2X0rQ/yJmeIWmZEvywY/CQoLJ
         8IryPBZk3jRHVvdBkKqjowvG2UR3er69h1P+dlzmoU1BZdtW9CCPOUyDRiciXLnYW2Vm
         xJIWhG7CB63U0v+5n/AsgL19iIErO7gc+yvbCRjHe4x5jIHj73aS5cqeb1i/qZqkvR8i
         4tBA==
X-Gm-Message-State: ALoCoQkdPwsCpn6j/EL6jA3ZOAp9IuHxeiOsaUu6IIxOCJwCbyLkM1ijehcNHNPi10HFkg9go79S
X-Received: by 10.236.26.108 with SMTP id b72mr313985yha.33.1423173860257;
        Thu, 05 Feb 2015 14:04:20 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.140.30.119 with SMTP id c110ls406171qgc.26.gmail; Thu, 05 Feb
 2015 14:04:19 -0800 (PST)
X-Received: by 10.140.94.247 with SMTP id g110mr5196qge.34.1423173859713;
        Thu, 05 Feb 2015 14:04:19 -0800 (PST)
In-Reply-To: <54C36998.3070600@wanadoo.fr>
X-Original-Sender: akrzemi1@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:16058
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/16058>

------=_Part_916_1439292539.1423173859280
Content-Type: multipart/alternative; 
	boundary="----=_Part_917_933903165.1423173859280"

------=_Part_917_933903165.1423173859280
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable



W dniu sobota, 24 stycznia 2015 10:44:58 UTC+1 u=C5=BCytkownik Vicente J. B=
otet=20
Escriba napisa=C5=82:
>
> =20
> Hi,
>
> I have written a draft proposal for an some coherency issues between any=
=20
> and optional [1].
>
> Any comments or contributions are welcome.
>

Regarding the in-place construction for Any, I was wondering whether the=20
following syntax could be possible:

optional(in_place, 1);
any(in_place.type<double>, 1);=20

But it looks, it does not work. Operator. (dot) works for static member=20
functions but not for static data member templates. Perhaps with the slight=
=20
modification of the language....

--=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/.

------=_Part_917_933903165.1423173859280
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><br>W dniu sobota, 24 stycznia 2015 10:44:58 UTC+1 u=
=C5=BCytkownik Vicente J. Botet Escriba napisa=C5=82:<blockquote class=3D"g=
mail_quote" style=3D"margin: 0;margin-left: 0.8ex;border-left: 1px #ccc sol=
id;padding-left: 1ex;">
 =20

   =20
 =20
  <div bgcolor=3D"#FFFFFF" text=3D"#000000">
    <br>
    <font size=3D"+1">Hi,<br>
      <br>
      I have written a draft proposal for an some coherency issues
      between any and optional </font><font size=3D"+1">[1].<br>
      <br>
      Any comments or contributions are welcome.<br></font></div></blockquo=
te><div><br>Regarding the in-place construction for Any, I was wondering wh=
ether the following syntax could be possible:<br><br>optional(in_place, 1);=
<br>any(in_place.type&lt;double&gt;, 1); <br><br>But it looks, it does not =
work. Operator. (dot) works for static member functions but not for static =
data member templates. Perhaps with the slight modification of the language=
.....<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_917_933903165.1423173859280--
------=_Part_916_1439292539.1423173859280--

.
