[boost.function] member function object problem
Hi,
I perform some tests and run into problems. The following code doesn't
compile:
---8<---
#include
AMDG Olaf Peter wrote:
Hi,
I perform some tests and run into problems. The following code doesn't compile:
---8<--- #include
boost::function
exec_test = &My::exec_test; //L13 --->8---
$ LANG=en g++ -I /usr/include/python2.5 python_embedded.cpp -o python_embedded -l python2.5 -l boost_python python_embedded.cpp: In function 'int main()': python_embedded.cpp:13: error: variable 'boost::function
exec_test' has initializer but incomplete type
Add
#include
Steven Watanabe schrieb:
AMDG
Olaf Peter wrote:
Hi,
I perform some tests and run into problems. The following code doesn't compile:
---8<--- #include
boost::function
exec_test = &My::exec_test; //L13 --->8---
$ LANG=en g++ -I /usr/include/python2.5 python_embedded.cpp -o python_embedded -l python2.5 -l boost_python python_embedded.cpp: In function 'int main()': python_embedded.cpp:13: error: variable 'boost::function
exec_test' has initializer but incomplete type Add
#include
oh, dear ... Thanks, Olaf
participants (2)
-
Olaf Peter
-
Steven Watanabe