A
Andreas Schmidt
Suppose there is a 10,000 lines header file that wildly mixes definitions
(the interface) and implementations. Other code that includes this header
file takes hours to compile, and it's impossible to compile a shared
library from the header file, of course.
Is there a tool that takes this header file, and cuts out the
implementations, writing them into a separate .cc file? It would
automatically create a clean separation of interface and implementation,
and so make it possible to compile it into a shared library etc.
Thanks,
Andi
(the interface) and implementations. Other code that includes this header
file takes hours to compile, and it's impossible to compile a shared
library from the header file, of course.
Is there a tool that takes this header file, and cuts out the
implementations, writing them into a separate .cc file? It would
automatically create a clean separation of interface and implementation,
and so make it possible to compile it into a shared library etc.
Thanks,
Andi