--
You received this message because you are subscribed to the Google Groups "cxx" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cxx+uns...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/cxx/CABO%2BUTqJfUVFwbbwNmsDg02Nv-AExoWg5p-Hf4BEYZdHcTHt1Q%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/cxx/CAHtyhaSyUP%3D4FXxHcC%3DuG_eeJ3yfb95RyyFuFPQpd__0XfZJEw%40mail.gmail.com.
For the vector case, item 8 on [1] says `member_` is guaranteed to be
empty. Should be fine to just return std::move(member_), right?
On Tue, Apr 5, 2022 at 7:53 PM Lei Zhang <the...@chromium.org> wrote:For the vector case, item 8 on [1] says `member_` is guaranteed to beempty. Should be fine to just return std::move(member_), right?Ah, looks right yeah, for vector. I didn't recall that vector defines that.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/cxx/CAHtyhaSP%2BwvRfhse%3D1Mta_FsDst9KYtfaN_BHh-u34ivo%3D8X0g%40mail.gmail.com.