use extern template in generated c++ files
the files generated by
slice2cpp contain a lot of templates.
template instantiations slow down compilation.
a way to circumvent this problem is to use a
explicit instantiation declaration for the template instance in the header and add the
explicit instantiation declaration to the cpp (see here for more information).
i think it would be nice if
slice2cpp would use this feature (this can speed up the compilation of large code-bases).
explicit instantiation declarations are a c++11 feature, this probably should be enabled via a flag.
will you add such a flag to
slice2cpp in future?