Regex instantiation

Marc Glisse marc.glisse@inria.fr
Thu Jan 9 06:46:00 GMT 2014


On Wed, 8 Jan 2014, Tim Shen wrote:

> I've made several <regex> instantiations (see attach), but I'm not
> sure how to export them to the target object file correctly.

It looks strange, I seem to see the same code (with "extern template") in 
the headers and in src/, whereas I don't expect "extern" in src/.

We would have saved quite a bit using pointers as iterators for vector, 
string, array, etc.

Because of the replacement of basic_string in the next (?) version of gcc, 
I am not sure it is such a good idea to export a new instantiation for it.

-- 
Marc Glisse



More information about the Libstdc++ mailing list