This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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] | |
2013/2/15 François Dumont <frs.dumont@gmail.com>:Hi
I had a problem with the result of std::is_copy_assignable<std::pair<const int, int>>::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 copy-assignable and that exactly is the purpose for the user-provided copy-assignment operators of pair (and tuple).
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |