On Mar 11, 2016, at 4:02 PM, Jens Maurer <[email protected]> wrote:
> 
> For
>   s.data()
> 
> the workaround is something like
> 
>   &s[0]
> 
> (Both const and non-const.)

It's slightly worse:

v.empty() ? nullptr : &v.front()

But other than that I agree you don't need a macro to test for it. 

-- 
 Nevin ":-)" Liber <mailto:[email protected]>  +1-312-623-5420
_______________________________________________
Features mailing list
[email protected]
http://www.open-std.org/mailman/listinfo/features

Reply via email to