https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109801

--- Comment #2 from Scott Zhong <szhong at perforce dot com> ---
Constructing a container and then moving it to a second container causes this
warning to popup. In this case, container1 is not temporary.

int main()
{
    table<int> container1;
    // (... do something with container1 ...)
    table<int> container2(std::move(container1));
    return (0);
}

Reply via email to