[Bug libstdc++/44436] [C++0x] Implement emplace* in associative and unordered containers

2011-06-09 Thread Kira.Backes at NRWsoft dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44436 --- Comment #25 from Kira Backes 2011-06-09 12:41:42 UTC --- I'm sorry, don't misunderstand me, I'm willing to upgrade. I'm right now upgrading to 4.6 When I googled for this problem a year ago I've read that the second line doesn't work by *spe

[Bug libstdc++/44436] [C++0x] Implement emplace* in associative and unordered containers

2011-06-09 Thread Kira.Backes at NRWsoft dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44436 --- Comment #23 from Kira Backes 2011-06-09 12:27:31 UTC --- (In reply to comment #22) > Nonsense. The second one works fine. Nope, it really doesn't! Or was this fixed in GCC 4.6.0 (I'm on 4.5.0 and this bug report is tagged to 4.5.0) Do you j

[Bug libstdc++/44436] [C++0x] Implement emplace* in associative and unordered containers

2011-06-09 Thread Kira.Backes at NRWsoft dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44436 --- Comment #21 from Kira Backes 2011-06-09 12:21:07 UTC --- Hi, I don't mean a pair of unique_ptr, just any combination with a unique_ptr. I for example very often need: std::map> instancesByIds_; Now if I want to insert a User, with a sh

[Bug libstdc++/44436] [C++0x] Implement emplace* in associative and unordered containers

2011-06-09 Thread Kira.Backes at NRWsoft dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44436 --- Comment #19 from Kira Backes 2011-06-09 11:59:29 UTC --- Because the usual add functions would have to copy the unique_ptr and that doesn't work. As I see it in a map there are only insert functions for pairs. So if this works I'd have to cre

[Bug libstdc++/44436] [C++0x] Implement emplace* in associative and unordered containers

2011-06-09 Thread Kira.Backes at NRWsoft dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44436 Kira Backes changed: What|Removed |Added CC||Kira.Backes at NRWsoft dot