Re: [v3 PATCH] Implement LWG 2509

2016-07-05 Thread Jonathan Wakely
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. *

[v3 PATCH] Implement LWG 2509

2016-07-05 Thread Ville Voutilainen
Tested on Linux-X64. 2016-07-05 Ville Voutilainen 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