From: Ed Brey (brey_at_[hidden])
Date: 2002-06-17 23:08:05
"Jeremy Siek" <jsiek_at_[hidden]> wrote in message news:Pine.GSO.4.44.0206171451290.21649-100000_at_zaphod.osl.iu.edu...
> To make sure I understand the motivation for this... you're saying that
> the above is better then the following
> while (bits)
> because... it could be more efficient? It is more convenient? Do you have
> another reason?
Effency and convenience are motivations, but primarily it's expressive power. You can't pass around a "bits" like you can a const_reference.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk