Re: Template check

2000-07-20 Thread Baruch Even
On 20 Jul 2000, Lars Gullik Bjønnes wrote: > | I've used as a reference the SGI STL, I know they do add some stuff to > | their version but I thought those where standard, if they are not I'll > | supply my own version of the functors. > > Instead of using your own, just use the onew from SGI ST

Re: Template check (revised)

2000-07-20 Thread Kayvan A. Sylvan
On Thu, Jul 20, 2000 at 04:27:15PM +0300, Baruch Even wrote: > > Attached again are the template and the test driver. > I replaced the supposedly standard functors with my own, I also changed > the test driver since formerly it emitted warnings on something I don't > intend to do (outputing an en

Re: Template check (revised)

2000-07-20 Thread Angus Leeming
Baruch> Attached again are the template and the test driver. Baruch> I replaced the supposedly standard functors with my own, I also changed Baruch> the test driver since formerly it emitted warnings on something I don't Baruch> intend to do (outputing an enum to an ostream). Baruch> Please reche

Re: Template check (revised)

2000-07-20 Thread Jean-Marc Lasgouttes
> "Baruch" == Baruch Even <[EMAIL PROTECTED]> writes: Baruch> Content-Type: TEXT/PLAIN; charset=US-ASCII Attached again are Baruch> the template and the test driver. I replaced the supposedly Baruch> standard functors with my own, I also changed the test driver Baruch> since formerly it emitt

Re: Template check

2000-07-20 Thread Lars Gullik Bjønnes
Baruch Even <[EMAIL PROTECTED]> writes: | On 20 Jul 2000, Lars Gullik Bjønnes wrote: | | > but are compose1 and the select1st templates part of std C++? | > After scanning through the standard it seems that they are not, so you | > either have to supply those templates or rewrite to not use them

Re: Template check

2000-07-20 Thread Baruch Even
On 20 Jul 2000, Lars Gullik Bjønnes wrote: > but are compose1 and the select1st templates part of std C++? > After scanning through the standard it seems that they are not, so you > either have to supply those templates or rewrite to not use them. I've used as a reference the SGI STL, I know the

Re: Template check

2000-07-20 Thread Baruch Even
After the replies I got it seems like I should dump the template idea altogether as the dec compiler doesn't have the needed stl algorithms and gcc 2.95 (as opposed to gcc 2.91 which I have) complains. I can try to overcome the first problem by rolling my own functor to do the tasks (actually its

Re: Template check

2000-07-20 Thread Lars Gullik Bjønnes
Baruch Even <[EMAIL PROTECTED]> writes: | Comments on the template are welcome. [larsbj@lett test]$ g++ --version 2.96 [larsbj@lett test]$ g++ -o translator_test translator_test.C In file included from translator_test.C:1: translator.h:17:52: pair.h: No such file or directory Use ins

Re: Template check

2000-07-20 Thread Kayvan A. Sylvan
On Wed, Jul 19, 2000 at 08:45:39PM +0300, Baruch Even wrote: > > Attached is a definition of a template that I would like to use, it works > for my environment (egcs 1.1.2 on a i386 machine - actually an AMD K6). On RH 6.1 with gcc-2.95: [kayvan@camel /net/home/kayvan]$ gcc -v Reading specs fro

Re: Template check

2000-07-20 Thread Angus Leeming
Baruch> Attached is a definition of a template that I would like to use, it works Baruch> for my environment (egcs 1.1.2 on a i386 machine - actually an AMD K6). Baruch> What I would like is to have others in different environments and Baruch> different compilers check it (test program enclosed)