TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: SADOVNIKOV SERGEY
from: CAMERON CLARK
date: 1997-06-04 20:47:00
subject: Re: template hell?

SS>  CC>     This is how I did the headers. Any ideas?
SS> 
SS>    If I understood correct, you define function 'method' in .cpp file. 
This
SS> not correct way for working with templates. Any functions, which work 
ith
SS> template classes must be declare and define in header, because compiler 
can
SS> extract code of it's template from .obj modules. In .cpp files you must 
def
SS> only common abstract methods for working with _ANY_ type of storing 
objects
    Yes, I defined the methods in the .cpp file. I'll have to move it over
    into the .h file and try again.
--- GEcho 1.00
---------------
* Origin: Digital OnLine Magazine! - (409)838-8237 (1:3811/350)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.