Borland compiler, templates, wxWeakRef
ATS
asteinarson at gmail.com
Tue Feb 26 10:41:14 PST 2008
I noted some discussions about problems with the Borland C++ compiling template
code and wxWeakRef.
The problem seems to be that BCC cannot use any type or const expressions as
template arguments when specializing.
For wxWeakRef, the workaround is to only use the static case also for Borland
(just as for VC6).
I've made a patch along these lines. A new define:
HAVE_TEMPLATE_OVERLOAD_RESOLUTION
was added to defs.h.
That would make it possible to use with wxAUI again. Hope I have the full
picture here.
Regards
// ATS
More information about the wx-dev
mailing list