Namespaces
Variants
Views
Actions

Talk:cpp/container/vector/data

From cppreference.com

> Specifically the pointer is such that range [data(); data() + size()) is a valid.

Proposed change:

Specifically, the pointer is such that the range [data(), data() + size()) is valid, even when empty returns true.

Isn't it C++11 only?

indeed it is, thanks. --Cubbi 05:33, 19 June 2012 (PDT)