Boost logo

Boost :

From: Benoit (benoit.casoetto_at_[hidden])
Date: 2007-09-03 10:42:21


> I think the crux of the issue is why "there are many interfaces" taking
> raw pointers of any kind?

I agree but i believe the answer is portability across different languages.
There is no alternative for arrays unless you want to call that
function once for each element in the array, but that could make the
whole process much less efficient.

What if vector had a member function returning &v[0] when v.size()>0
and 0 otherwise ? But that's another story !


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk