Skip to content
Snippets Groups Projects
Commit 2028b66d authored by Stefano Soffia's avatar Stefano Soffia Committed by Paolo Carlini
Browse files

vector (vector<>::_M_requires_reallocation): Just use this->capacity().


2008-05-12  Stefano Soffia  <soffia@cs.unipr.it>
	    Paolo Carlini  <paolo.carlini@oracle.com>

	* include/debug/vector (vector<>::_M_requires_reallocation): Just
	use this->capacity().
	(vector<>::capacity): Move non-pedantic / pedantic logic here.
	* testsuite/23_containers/vector/
	debug_mode_requires_reallocation-2.cc: New.

	* testsuite/23_containers/vector/debug_mode_requires_reallocation.cc:
	Rename to debug_mode_requires_reallocation-1.cc

Co-Authored-By: default avatarPaolo Carlini <paolo.carlini@oracle.com>

From-SVN: r135208
parent b3aaa29a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment