Re: [v3 PATCH] Fix the constraints for any's assignment operator template to properly reject assignment from a non-copyable lvalue.

2016-07-15 Thread Jonathan Wakely
On 14/07/16 20:27 +0300, Ville Voutilainen wrote: Fix the constraints for any's assignment operator template to properly reject assignment from a non-copyable lvalue. * include/std/any (operator=(_ValueType&&)): Constrain the decayed type for is_copy_constructible, *

[v3 PATCH] Fix the constraints for any's assignment operator template to properly reject assignment from a non-copyable lvalue.

2016-07-14 Thread Ville Voutilainen
Tested on Linux-x64. 2016-07-14 Ville Voutilainen Fix the constraints for any's assignment operator template to properly reject assignment from a non-copyable lvalue. * include/std/any (operator=(_ValueType&&)): Constrain the decayed type for