Boost logo

Boost :

From: John Torjo (john.lists_at_[hidden])
Date: 2003-07-20 06:58:45


>
> Using operator->() and operator*() you use "pointer value itself". It is
> pretty rare situation when you need it directly and not as part of
> abc->def() or *abc constructs. Example of c_str() is irrelevant --- you
can
> do all string manipulations without c_str(). The former is needed to
> interface legacy systems, which is not frequent case.
>

Not quite. It's quite frequent to me, when I use STL strings on Win32 - for
calling UI functions like MessageBox, SetText, etc.

Best,
John


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