From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc89c,f7119c816cf89e17,start X-Google-Attributes: gidfc89c,public X-Google-Thread: fee84,f7119c816cf89e17,start X-Google-Attributes: gidfee84,public X-Google-Thread: 10ba33,f7119c816cf89e17,start X-Google-Attributes: gid10ba33,public From: magrasjc@texas.net Subject: Help w/ templated sub-classes Date: 1997/08/04 Message-ID: <33E69610.1B1F@texas.net>#1/1 X-Deja-AN: 262579640 Organization: Texas Networking, Inc. Newsgroups: gnu.g++.help,comp.unix.programmer,comp.unix.osf.osf1 Greetings everyone, I am trying to get the following code to compile on a g++ 2.7.2.2 and libg++ 2.7.2 on DEC UNIX 3.2... but I cant discern what the external function defintion's header should look like... Thanks in advance for your help, J.C. Magras #include // yields unary_function template ***** given this generic template template class jack:pubic unary_function { public: Result& jack::operator(Protocol&){}; }; ***** given this template specialization template class jack:public unary_function { friend class pTCPIP; public: Result& jack::operator()( Protocol &) ; }; ************ what is the function signature/header for: pTCPIP& jack :: operator() (pTCPIP & e) { } ? -- Unix Software Engineer looking for C++/UNIX/Motif/Perl/Tk/Flex Software Engineering position **NOW**. Currently in Austin at (512) 672-5778/magrasjc@texas.net. have Answering machine.