[Bug libstdc++/63274] std::list uses T(...) instead of T{...} in implementation of emplace()

2014-09-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63274 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/63274] std::list uses T(...) instead of T{...} in implementation of emplace()

2014-09-15 Thread d.v.a at ngs dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63274 --- Comment #1 from __vic --- And yes, in this case I can just write l.push_back({1, 2}); But both cases should be acceptable for compiler, IMO.