On 03/11/2016 08:08 PM, Nelson, Clark wrote:
> The paper proposing a new overload for string::data didn't propose a
> feature-test macro.
> 
> The first question is, would one be useful for it?

For
   s.data()

the workaround is something like

   &s[0]

(Both const and non-const.)

For someone trying to be backward-compatible, I can't see
why you'd perform an #ifdef dance to be able to write
s.data().

Jens
_______________________________________________
Features mailing list
[email protected]
http://www.open-std.org/mailman/listinfo/features

Reply via email to