Topic: Library solution possible (was: C++0x: Proposal for an additonal
Author: aatu.koskensilta@xortec.fi (Aatu Koskensilta)
Date: Tue, 8 Oct 2002 17:04:37 +0000 (UTC) Raw View
Alf P. Steinbach wrote:
>
> I'm not familiar with boost::function, but shouldn't there be an
> object involved somewhere (to call member functions on)?
There can be:
Object object;
boost::function<T> function =
bind(&Object::some_function, object);
--
Aatu Koskensilta (aatu.koskensilta@xortec.fi)
"Wovon man nicht sprechen kann, daruber muss man schweigen"
- Ludwig Wittgenstein, Tractatus Logico-Philosophicus
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html ]