Topic: [Proposal] Make the push member of the container adaptors take a


Author: Magnus F <magfr@lysator.liu.se>
Date: Thu, 13 Dec 2007 17:04:27 CST
Raw View
This is obviously library DR 756 now. Thanks for all the discussion.

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]





Author: Magnus F <magfr@lysator.liu.se>
Date: Mon, 3 Dec 2007 00:44:17 CST
Raw View
I think the standard would be more consistent if the push member
functions of std::queue, std::stack and std::priority_queue took a
variadic template arguments just like the push_back methods they are
forwarding to.

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]