This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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,
   * testsuite/20_util/any/requirements.cc: Add a test for
   non-copyable lvalues.

OK for trunk, thanks.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]