January 05, 2003 using a template from an extern "C" function | ||||
---|---|---|---|---|
| ||||
template<class T>
struct A
{
static void f();
};
extern "C" void g()
{
A<bool>::f();
}
and have a look at the generated code for g:
_g:
call near ptr _f
ret
bye, Christof
--
http://cmeerw.org JID: cmeerw@jabber.at mailto cmeerw at web.de
...and what have you contributed to the Net?
|
Copyright © 1999-2021 by the D Language Foundation