More parse errors
"Niall Douglas" <[email protected]>
| Newsgroups | gmane.comp.documentation.synopsis |
|---|---|
| Message-ID | <40F72255.26826.405372CF@localhost> |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
template<typename T> inline T *malloc(size_t size, FXMemoryPool
*heap=0) throw() FXMALLOCATTR;
where #define FXMALLOCATTR __attribute__ ((malloc))
Also:
namespace Generic { typedef int BoundFunctorV; }
template<class type> class FXAutoPtr;
typedef int HandledCode;
const int HandledAsync=0;
class FXIPCChannel
{
template<typename objtype, typename fntype, typename msgtype> void
int_handlerIndirect(fntype, FXAutoPtr<msgtype>,
Generic::BoundFunctorV *);
template<typename fntype, typename msgtype> HandledCode
invokeMsgHandler(fntype fnptr, msgtype *msg)
{
typedef int objType;
void (FXIPCChannel::*mythunk)(fntype, FXAutoPtr<msgtype>,
Generic::BoundFunctorV *)=&FXIPCChannel::int_handlerIndirect<objType,
fntype, msgtype>;
return HandledAsync;
}
};
Odd one this last one. Seems to dislike taking the address of a
templated function.
Cheers,
Niall
-----BEGIN PGP SIGNATURE-----
Version: idw's PGP-Frontend 4.9.6.1 / 9-2003 + PGP 8.0.2
iQA/AwUBQPcURcEcvDLFGKbPEQI16wCgxGGVvTWYtOA5B178cH/2pA5d+hIAoI+w
k18NjgcAO6atTIgV3eWI5C6m
=CuOb
-----END PGP SIGNATURE-----