Commit 0a485bae by Paolo Carlini Committed by Paolo Carlini

vector (push_back, emplace): Fix signature typo.

2007-11-08  Paolo Carlini  <pcarlini@suse.de>

	* include/debug/vector (push_back, emplace): Fix signature typo.

From-SVN: r129996
parent 8e0775fb
2007-11-08 Paolo Carlini <pcarlini@suse.de>
* include/debug/vector (push_back, emplace): Fix signature typo.
2007-11-08 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.h (ctype<char>::taple, classic_table):
Implement trivial resolution of DR 695 [Ready].
* testsuite/22_locale/ctype/dr695.cc: New.
......
......@@ -291,7 +291,7 @@ namespace __debug
#else
template<typename... _Args>
void
push_back(_Args... __args)
push_back(_Args&&... __args)
{
bool __realloc = _M_requires_reallocation(this->size() + 1);
_Base::push_back(std::forward<_Args>(__args)...);
......@@ -313,7 +313,7 @@ namespace __debug
#ifdef __GXX_EXPERIMENTAL_CXX0X__
template<typename... _Args>
iterator
emplace(iterator __position, _Args... __args)
emplace(iterator __position, _Args&&... __args)
{
__glibcxx_check_insert(__position);
bool __realloc = _M_requires_reallocation(this->size() + 1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment