Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #13392
| From | "Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com> |
|---|---|
| Newsgroups | comp.lang.c++ |
| Subject | Re: How does a lambda actually get assigned to a std::function<>? |
| Date | 2012-01-16 05:32 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <jf098o$7ht$1@dont-email.me> (permalink) |
| References | <671a92c2-96bc-4fe7-b471-1540176eb31e@t13g2000yqg.googlegroups.com> <jesrr7$6ot$1@dont-email.me> <4f12b580$0$6567$9b4e6d93@newsspool4.arcor-online.net> <jeuk2v$ju$1@dont-email.me> <4f1374c5$0$6581$9b4e6d93@newsspool3.arcor-online.net> |
On 16.01.2012 01:52, Peter Remmers wrote: > > The reinterpret_cast would not be necessary at all if invoker() took a > WrapperBase* directly, instead of a void*. A WrapperBase* is what the > shared_ptr holds, and what operator() can forward as-is to the invoker. Huh, I didn't even think of that. So, I didn't really see everything in your earlier comment - blindness. Cheers, - Alf
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How does a lambda actually get assigned to a std::function<>? "K. Frank" <kfrank29.c@gmail.com> - 2012-01-14 12:42 -0800
Re: How does a lambda actually get assigned to a std::function<>? "Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com> - 2012-01-14 22:24 +0100
Re: How does a lambda actually get assigned to a std::function<>? "K. Frank" <kfrank29.c@gmail.com> - 2012-01-14 19:14 -0800
Re: How does a lambda actually get assigned to a std::function<>? "Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com> - 2012-01-15 14:27 +0100
Re: How does a lambda actually get assigned to a std::function<>? Peter Remmers <p.remmers@expires-2011-04-30.arcornews.de> - 2012-01-15 12:16 +0100
Re: How does a lambda actually get assigned to a std::function<>? "Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com> - 2012-01-15 14:24 +0100
Re: How does a lambda actually get assigned to a std::function<>? Peter Remmers <p.remmers@expires-2011-04-30.arcornews.de> - 2012-01-16 01:52 +0100
Re: How does a lambda actually get assigned to a std::function<>? "Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com> - 2012-01-16 05:32 +0100
Re: How does a lambda actually get assigned to a std::function<>? "Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com> - 2012-01-14 22:27 +0100
Re: How does a lambda actually get assigned to a std::function<>? "K. Frank" <kfrank29.c@gmail.com> - 2012-01-14 13:54 -0800
csiph-web