From: David B. Held (dheld_at_[hidden])
Date: 2004-05-20 20:11:53
"Joe Gottman" <jgottman_at_[hidden]> wrote in message
> 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*.
--- 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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk