T
Tomás
I have a few really long template functions. They belong in a source
file... and thus must be "exported".
Seeing as how few compilers support "export", could someone please point
me to a webpage/post that gives a very decent method of exploiting
"export" for those compilers that *do* export it, while still remaining
compatible with the defective compilers (which are in the majority!).
I've seen in the comp.lang.c++ FAQ that you can do:
#ifndef SUPPORT_EXPORT
#define export /* Nothing */
#endif
and so on. I works fine, but I just thought I'd check to see if there's
any better ideas before I go modifying all of my code...
-Tomás
file... and thus must be "exported".
Seeing as how few compilers support "export", could someone please point
me to a webpage/post that gives a very decent method of exploiting
"export" for those compilers that *do* export it, while still remaining
compatible with the defective compilers (which are in the majority!).
I've seen in the comp.lang.c++ FAQ that you can do:
#ifndef SUPPORT_EXPORT
#define export /* Nothing */
#endif
and so on. I works fine, but I just thought I'd check to see if there's
any better ideas before I go modifying all of my code...
-Tomás