https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279443

--- Comment #4 from Yuri Victorovich <y...@freebsd.org> ---
(In reply to Mark Millard from comment #3)

&v[v.size()] should take the vector's base address, add the size to it, and
return the result. This is technically an incorrect code, it would cause an
assert, it it should produce the correct expected pointer.

Standards aside, in the absence of asserts there should be nothing in the
compiled program that is in the way of returning the correct pointer in this
specific situation.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to