This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Regex instantiation


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]