
Yeah, it isn't. Even adding the template definition at the end of the
source file isn't supported well, at least by g++-4.4. So I ended up
adding the code to the header file. Boost functors use the same
solution, all code is inside the header, see here:
http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?Examples_-_Ho...
Max
On Tue, Aug 3, 2010 at 5:52 AM, Larry Evans
On 08/02/10 17:52, Max S. Kaznady wrote: [snip]
There another resolution, which uses the "export" keyword and you can also place the template declaration at the end of the source file.
[snip] Hi Max,
Based on recent threads with subject:
Any hopes for export ?
in both Newsgroups:
comp.std.c++ comp.lang.c++.moderated
I wouldn't depend on export being well supported.
HTH.
-Larry
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users