Re: Tempated class instantiation

2009-12-17 Thread Mike L.
Rory McGuire Wrote: > Mike L. wrote: > > > Simen kjaeraas Wrote: > > > >> On Wed, 16 Dec 2009 07:25:39 +0100, Mike L. > >> wrote: > >> > >> > I'm making a class template that only works with strings, so I thought > >> > it'd be good to instantiate each template with char, wchar, and dcha

Re: Tempated class instantiation

2009-12-16 Thread Rory McGuire
Mike L. wrote: > Simen kjaeraas Wrote: > >> On Wed, 16 Dec 2009 07:25:39 +0100, Mike L. >> wrote: >> >> > I'm making a class template that only works with strings, so I thought >> > it'd be good to instantiate each template with char, wchar, and dchar >> > right in the template's module

Re: Tempated class instantiation

2009-12-16 Thread Simen kjaeraas
Mike L. wrote: Thanks for the reply, that seems to be working for my project too, but the code gets really ugly really fast. Should I submit a bug report? Please do. Even if it has a workaround, it's still a bug. -- Simen

Re: Tempated class instantiation

2009-12-16 Thread Mike L.
Simen kjaeraas Wrote: > On Wed, 16 Dec 2009 07:25:39 +0100, Mike L. > wrote: > > > I'm making a class template that only works with strings, so I thought > > it'd be good to instantiate each template with char, wchar, and dchar > > right in the template's module so that when it's compiled

Re: Tempated class instantiation

2009-12-16 Thread grauzone
Mike L. wrote: I'm making a class template that only works with strings, so I thought it'd be good to instantiate each template with char, wchar, and dchar right in the template's module so that when it's compiled it'll be part of the .obj file and won't have to compile it for every other proj

Re: Tempated class instantiation

2009-12-16 Thread Simen kjaeraas
On Wed, 16 Dec 2009 07:25:39 +0100, Mike L. wrote: I'm making a class template that only works with strings, so I thought it'd be good to instantiate each template with char, wchar, and dchar right in the template's module so that when it's compiled it'll be part of the .obj file and won

Tempated class instantiation

2009-12-15 Thread Mike L.
I'm making a class template that only works with strings, so I thought it'd be good to instantiate each template with char, wchar, and dchar right in the template's module so that when it's compiled it'll be part of the .obj file and won't have to compile it for every other project that uses it.