Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #13887
| From | Gareth Owen <gwowen@gmail.com> |
|---|---|
| Newsgroups | comp.lang.c++ |
| Subject | Re: taking address of temporary object |
| References | <93e89895-796d-48bb-abd6-3f560410b006@tj4g2000pbc.googlegroups.com> <jh38ck$2uj$1@dont-email.me> |
| Date | 2012-02-10 17:51 +0000 |
| Message-ID | <87zkcqtw41.fsf@gmail.com> (permalink) |
"Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com> writes: > The Holy Standard does not permit using the built-in address operator > to take the address of a temporary. Presumably you can call an over-ridden unary & operator? (which isn't to say that to do so isn't a horrible design decision)
Back to comp.lang.c++ | Previous | Next — Previous in thread | Find similar | Unroll thread
taking address of temporary object "V.Subramanian, India" <subramanian100in@yahoo.com> - 2012-02-10 05:44 -0800
Re: taking address of temporary object Victor Bazarov <v.bazarov@comcast.invalid> - 2012-02-10 08:53 -0500
Re: taking address of temporary object "Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com> - 2012-02-10 15:08 +0100
Re: taking address of temporary object Gareth Owen <gwowen@gmail.com> - 2012-02-10 17:51 +0000
csiph-web