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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2022-10-24
           Assignee|unassigned at gcc dot gnu.org      |mpolacek at gcc dot 
gnu.org
     Ever confirmed|0                           |1
                 CC|                            |mpolacek at gcc dot gnu.org
             Status|UNCONFIRMED                 |ASSIGNED

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
(In reply to Daniel Bertalan from comment #0)
> As an aside, it's a bit annoying to have this warning when the moved type
> depends on a template parameter in library code. We are forced to either
> silence this warning with a #pragma, or use concepts to have a variant of
> the release_value method that does not call std::move for const-qualified T.

Understood, I thought I'd fixed cases like that in 
https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=6602a2b2dee16af6e2d451c704789356042b5881

Something's not right here.  I need to take a closed look.  Thanks for
reporting the bug.

Reply via email to