Re: template export(or export template) features

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3 July 2011 16:02, Jonathan Wakely wrote:
> On 3 July 2011 09:22, eric wrote:
>> Dear (Ubuntu linux) g++ programers:
>>
>>  In my test with g++4.5.2, I can not make .cpp file contain template
>> unless I instantiate it but that will spoil its flexibility/dynamics
>> to runtime binding.  And I certainly think seperate definition from .h
>> file's declaration is better idea.  Did anyone know how can I improve it
>> or on higher g++ version, it (g++) have added such feature?
>>  From book/internet/web discussion, I knew Comeau and intel(linux) c++
>> compiler did this years ago.  There is a link to advocate/promote such
>> feature.
>>  http://warp.povusers.org/programming/export_templates.html
>>
>> like to see your new info/cooperate on this issue
>> sincerely, Eric
>
> 'export' is not worth the trouble, it has been removed from the
> upcoming new C++ standard and will not be implemented in G++.
>

See http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2003/n1426.pdf
for more details of the problems with 'export'



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux