Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| Path | csiph.com!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail |
|---|---|
| From | Jason McKesson <jmckesson@gmail.com> |
| Newsgroups | comp.std.c++ |
| Subject | make_shared and friends. |
| Date | Fri, 27 Apr 2012 11:12:10 -0700 (PDT) |
| Organization | http://groups.google.com |
| Lines | 13 |
| Sender | std-cpp-request@vandevoorde.com |
| Approved | james.dennett@gmail.com |
| Message-ID | <5583145.28.1335476739188.JavaMail.geo-discussion-forums@ynnn35> (permalink) |
| NNTP-Posting-Host | zZwntwsfU85Nkedpe6s2Byd9HB/f63nBDCWiW56vjuQ= |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-Trace | news.albasani.net Wn6rF0fcnnz4XLRTItAGmJS9xIOCc4BxgCnV9qsqDubkikFlsOcJTVScA0Ao+1hFAxPzNcmiflG161lLz/w5hw== |
| X-Complaints-To | abuse@albasani.net |
| NNTP-Posting-Date | Fri, 27 Apr 2012 18:12:13 +0000 (UTC) |
| X-Mailer | Perl5 Mail::Internet v2.05 |
| X-Submission-Address | std-cpp-submit@vandevoorde.com |
| Cancel-Lock | sha1:x4PxxdX/OQwzLRugesD8ri7Vwik= |
| X-Original-Date | Thu, 26 Apr 2012 14:45:39 -0700 (PDT) |
| Xref | csiph.com comp.std.c++:494 |
Show key headers only | View raw
Does the C++11 specification allow you to say that the `make_shared` template is a friend, and thus guarantee that it can access the appropriate private constructors of a class? Yes, there is syntax that would make `make_shared` a friend. But does the spec *require* that the constructors are called directly from `make_shared` itself, since it cannot transfer friendship to any subsidiary object types? -- [ comp.std.c++ is moderated. To submit articles, try posting with your ] [ newsreader. If that fails, use mailto:std-cpp-submit@vandevoorde.com ] [ --- Please see the FAQ before posting. --- ] [ FAQ: http://www.comeaucomputing.com/csc/faq.html ]
Back to comp.std.c++ | Previous | Next — Next in thread | Find similar
make_shared and friends. Jason McKesson <jmckesson@gmail.com> - 2012-04-27 11:12 -0700
Re: make_shared and friends. Daniel Krügler<daniel.kruegler@googlemail.com> - 2012-04-27 11:47 -0700
Re: make_shared and friends. Jason McKesson <jmckesson@gmail.com> - 2012-04-28 17:02 -0700
Re: make_shared and friends. Daniel Krügler <daniel.kruegler@googlemail.com> - 2012-04-29 23:59 -0700
Re: make_shared and friends. Jason McKesson <jmckesson@gmail.com> - 2012-05-01 11:29 -0700
Re: make_shared and friends. "Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com> - 2012-05-02 11:11 -0700
Re: make_shared and friends. Daniel Krügler <daniel.kruegler@googlemail.com> - 2012-05-02 11:12 -0700
Re: make_shared and friends. "Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com> - 2012-04-28 17:00 -0700
csiph-web