[v3 PATCH] Implement LWG 2509

Jonathan Wakely jwakely@redhat.com
Tue Jul 5 18:15:00 GMT 2016


On 05/07/16 20:33 +0300, Ville Voutilainen wrote:
>    Implement LWG 2509,
>    any_cast doesn't work with rvalue reference targets and cannot
>    move with a value target.
>    * include/experimental/any (any(_ValueType&&)): Constrain and
>    add an overload that doesn't forward.
>    * include/experimental/any (any_cast(any&&)): Constrain and
>    add an overload that moves.

Don't repeat the filename for two changes in the same file, it should
be:

    * include/experimental/any (any(_ValueType&&)): Constrain and
    add an overload that doesn't forward.
    (any_cast(any&&)): Constrain and add an overload that moves.


OK with that tweak to the changelog, thanks.



More information about the Libstdc++ mailing list