Support for export keyword to use with C++ templates ?

Michael Witten mfwitten@gmail.com
Sat Jan 30 02:27:00 GMT 2010


On Fri, Jan 29, 2010 at 8:05 PM, Paolo Carlini <paolo.carlini@oracle.com> wrote:
> Even for implementors knowing *very* well both the details of the C++
> standard and the internals of a specific front-end, implementing export
> is an *highly* non-trivial task.

However, I have a gut feeling that at least a restricted version of
'export' (or a cousin of 'export') could be both useful and trivial to
implement: Perhaps a limited form could simply automate the
not-infrequently employed practice of creating a translation unit
specifically for explicit template instantiations.

Sincerely,
Michael Witten



More information about the Gcc mailing list