Re: std::pair copy and move constructor

2013-02-15 Thread Daniel Krügler
2013/2/15 François Dumont : > Hi > > I had a problem with the result of > std::is_copy_assignable>::type which used to be > true_type. So here is a patch to fix that. This patch would break with the requirements of the library. In particular it would prevent that std::pair's of references are

std::pair copy and move constructor

2013-02-15 Thread François Dumont
Hi I had a problem with the result of std::is_copy_assignable>::type which used to be true_type. So here is a patch to fix that. 2013-02-15 François Dumont * include/bits/stl_pair.h (pair): Use default implementation for copy and move constructors. * testsuite/20_util/pair