From: Rozental, Gennadiy (gennadiy.rozental_at_[hidden])
Date: 2003-02-03 15:49:27
> I find this remarkably analogous to the operator const charT* issue
> with early basic_string. We needed that operator for better
> compatibility with legacy code using null-terminated char arrays, and
> writing s.c_str() all over the place doesn't read as nice.
> But in the
> end, the implicit conversion to const charT* was deemed too
> error prone
> for basic_string.
I would like to second this opinion. I do not see a big of a deal in
enforcing get() for direct access. It may make transition to SP slightly
more difficult. But the advantages IMO prevail.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk