This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]