TIP: Click on subject to list as thread! ANSI
echo: nthelp
to: Geo
from: Gregg N
date: 2004-11-21 19:26:50
subject: Re: C++ for beginners?

From: Gregg N 

Geo wrote:
> "Gregg N"  wrote in message
> news:41a11b07{at}w3.nls.net...
>
>
>>Type safety means that the compiler will catch mistakes such as trying
>>to use your CompareSheep function to sort street address records.
>
>
> So it knows you can do certain operations on one type and not on another,
> doesn't the T template thing make that impossible in some cases? Seems to me
> with inheritance and the nesting possibilities of objects, that can get
> pretty complex.

No, templates are exactly what makes it possible. Try using both facilities
and you will understand better.

Gregg

--- BBBS/NT v4.01 Flag-5
* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/45)
SEEN-BY: 633/267 270 5030/786
@PATH: 379/45 1 396/45 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

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™.