19 Oct
2007
19 Oct
'07
9:31 a.m.
Sudarshan Gaikaiwari wrote:
Hi
The boost regex library makes liberal use of &*string.begin()
Is this construct safe? Are its semantics specified by the standard?
It isn't specified by the current std: but all current implementations I'm aware of do support it. The next (currently draft) std requires that basic_string's buffer be contiguous, so it will be std-mandated shortly. HTH, John.