Tip to reduce manual template declaration?

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

 



Hi,
I just finished a project that required to generate a static library out of
heavily templated code.

It has been a productivity nightmare and will be hard to extend if needs be.
Many "extern template XXX" in .hpp and corresponding "template XXX" in .cpp
that killed my day (many possible type combinations).

That need may happen again in a future project and I really don't want to
reiterate what I did.

Maybe modules will help but I need a solution that can be applied now.

Do we have a hack in GCC to avoid this pitfall?

Thanks,



[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