I just realized that I've been using
std::vector::data() out of similarity with std::string, but a colleague pointed out that it's not standard.
Apparently Gcc implements it, but looking at its include files, I found this comment:
// DR 464. Suggestion for new member functions in standard containers.
// data access
My questions are:
(I also wonder what
DR 464 is, and also
_GLIBCXX_RESOLVE_LIB_DEFECTS for that matter, but I might as well ask another question for those).
I can't comment on current compiler implementations but by looking at the c++0x standard n3290.pdf it is listed at 184.108.40.206.