220 5188 <CANu6V4WUYom+n1SaJ564aD9+QfijVts+DC+63c0XD9+tYZ3z_A@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Johannes Schaub <schaub.johannes@googlemail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: Allowing constructors to apply
 initializations to itself?
Date: Mon, 24 Jun 2013 10:19:44 +0200
Lines: 28
Approved: news@gmane.org
Message-ID: <CANu6V4WUYom+n1SaJ564aD9+QfijVts+DC+63c0XD9+tYZ3z_A@mail.gmail.com>
References: <ba9b0e99-abcd-4cf8-845b-24d944c8723e@isocpp.org>
	<6ad60824-1c86-4815-acc9-1212a369379d@isocpp.org>
	<CANPOWsc5kxU6+vtObFK9pcixE8FCVQ6qTk5WFNRcRzuajHrvJg@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: ger.gmane.org 1372061987 2144 80.91.229.3 (24 Jun 2013 08:19:47 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Mon, 24 Jun 2013 08:19:47 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCQPNCEZSQNBBIMCUCHAKGQE6LPWCUI@isocpp.org Mon Jun 24 10:19:49 2013
Return-path: <std-proposals+bncBCQPNCEZSQNBBIMCUCHAKGQE6LPWCUI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ie0-f199.google.com ([209.85.223.199])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCQPNCEZSQNBBIMCUCHAKGQE6LPWCUI@isocpp.org>)
	id 1Ur202-0007mF-Vu
	for gclcip-std-proposals@m.gmane.org; Mon, 24 Jun 2013 10:19:47 +0200
Original-Received: by mail-ie0-f199.google.com with SMTP id 9sf44465132iec.6
        for <gclcip-std-proposals@m.gmane.org>; Mon, 24 Jun 2013 01:19:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=googlemail.com; s=20120113;
        h=x-beenthere:mime-version:in-reply-to:references:date:message-id
         :subject:from:to:x-original-sender:x-original-authentication-results
         :reply-to:precedence:mailing-list:list-id:x-google-group-id
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe
         :content-type;
        bh=jNzY9pGxrscQhetMqxLmLJQuV2CeyXv08v0AVYeDgC8=;
        b=Yl47/9Gw9dKPV6SozoYSbbJejN97IWJAU8Iia+fvJrwcdWf3Y9LQMv3hi41WU9bQRU
         KfoKmdcl50XLgG4FHeZvGOWahefNs+HnmAeVxwyUeZezIKjrBnF7qUATStfexrspd05T
         HaPILQcz0G+ryjxKr0OKG8YubkxxMXBW4UDwKauo4Y5O12PcpMZdJfYDwR4sv8eRZkGY
         YRUPoPZWn9fSYZ67m3MRvo+jAlZDQ3u9JfWiXoqsKjKbLXPdzYtB1FKHnhzrUlEOGyak
         OmHp+sdcZay/5Ef0fzag3uUPtZU5cNJtOD+r9McHBwQQCrVRNJviiiwIroMVkyko1+4+
         EnYA==
X-Received: by 10.42.93.202 with SMTP id y10mr15558664icm.4.1372061986036;
        Mon, 24 Jun 2013 01:19:46 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.50.134.97 with SMTP id pj1ls1995115igb.27.gmail; Mon, 24 Jun
 2013 01:19:45 -0700 (PDT)
X-Received: by 10.68.169.97 with SMTP id ad1mr21766066pbc.84.1372061985184;
        Mon, 24 Jun 2013 01:19:45 -0700 (PDT)
Original-Received: from mail-pa0-x229.google.com (mail-pa0-x229.google.com [2607:f8b0:400e:c03::229])
        by mx.google.com with ESMTPS id tb9si8372497pbc.129.2013.06.24.01.19.45
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Mon, 24 Jun 2013 01:19:45 -0700 (PDT)
Received-SPF: pass (google.com: domain of schaub.johannes@googlemail.com designates 2607:f8b0:400e:c03::229 as permitted sender) client-ip=2607:f8b0:400e:c03::229;
Original-Received: by mail-pa0-f41.google.com with SMTP id bj3so10698900pad.14
        for <std-proposals@isocpp.org>; Mon, 24 Jun 2013 01:19:45 -0700 (PDT)
X-Received: by 10.68.235.103 with SMTP id ul7mr23113220pbc.14.1372061985068;
 Mon, 24 Jun 2013 01:19:45 -0700 (PDT)
Original-Received: by 10.68.237.106 with HTTP; Mon, 24 Jun 2013 01:19:44 -0700 (PDT)
In-Reply-To: <CANPOWsc5kxU6+vtObFK9pcixE8FCVQ6qTk5WFNRcRzuajHrvJg@mail.gmail.com>
X-Original-Sender: schaub.johannes@googlemail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of schaub.johannes@googlemail.com designates 2607:f8b0:400e:c03::229
 as permitted sender) smtp.mail=schaub.johannes@googlemail.com;
       dkim=pass header.i=@googlemail.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:5188
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/5188>

2013/6/24 Arthur Tchaikovsky <atch.cpp@gmail.com>:
> Hi, perhaps instead of static the default keyword would be more
> appropriate as it will suggest that object will get initialized to its
> default values?
>

Not necessarily

    struct HelperStruct {
      A(Manager *m)
        :static A{m->factory(), m->layouter()} {
        m->prepare();
      }

      shared_ptr<Factory> factory;
      shared_ptr<Factory> layouter;
    };

-- 

--- 
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/.



.
