r227870 - in /trunk/libstdc++-v3: ChangeLog inc...

redi@gcc.gnu.org redi@gcc.gnu.org
Thu Sep 17 14:56:00 GMT 2015


Author: redi
Date: Thu Sep 17 14:56:46 2015
New Revision: 227870

URL: https://gcc.gnu.org/viewcvs?rev=227870&root=gcc&view=rev
Log:
Only do shrink_to_fit() when exceptions enabled

	* include/bits/allocator.h (__shrink_to_fit_aux<T, true>::_S_do_it):
	Do nothing if exceptions are disabled.
	* include/bits/basic_string.h (basic_string::shrink_to_fit): Likewise.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/allocator.h
    trunk/libstdc++-v3/include/bits/basic_string.h



More information about the Libstdc++-cvs mailing list