[xml] C++/Sax-Interface/member function
- From: Thomas Porschberg <thomas porschberg osp-dd de>
- To: xml gnome org
- Subject: [xml] C++/Sax-Interface/member function
- Date: Thu, 23 May 2002 08:53:32 +0200
How can I pass a member function from a C++ class
to a xmlSAXHandler without making it static ?
I tried:
WorkSAXHandlerStruct.startDocument = &ReadXML::startDocumentWork;
but gcc complains:
ReadXML.cc:28: cannot convert `void (ReadXML::*)(void*)' to `void (*)(void*)'
in assignment
May be there is a solution with mem_fun or other STL code ?
thomas
--
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]