
21 May
2004
21 May
'04
1:11 a.m.
"Joe Gottman" <jgottman@carolina.rr.com> wrote in message news:c8jgkb$mc4$1@sea.gmane.org...
[...] I'm curious why the pointer parameters are of type T* and not T const *.
Because that would not allow comparisons between types that are not T const*. Take T == int. With T*, you can compare int*. With T == int const, you get int const*. If you use T const* instead, you won't ever be able to compare int*. Dave --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.683 / Virus Database: 445 - Release Date: 5/12/2004