gcc/libstdc++-v3/include
Jonathan Wakely e658669fe1 PR libstdc++/88840 delay evaluation of constant until type is complete
Clang fails to compile std::vector<Incomplete> because the static member
__use_relocate cannot be evaluated for an incomplete type. Replace with
a static member function that will not be odr-used until needed, by
which point the type must be complete.

	PR libstdc++/88840
	* include/bits/stl_vector.h (vector::__use_relocate): Replace static
	data member with static member function _S_use_relocate().
	* include/bits/vector.tcc (vector::reserve, vector::_M_realloc_insert)
	(vector::_M_default_append): Use _S_use_relocate() instead of
	__use_relocate.

From-SVN: r268239
2019-01-24 15:39:25 +00:00
..
backward Fix after P0600. 2019-01-21 11:47:30 +00:00
bits PR libstdc++/88840 delay evaluation of constant until type is complete 2019-01-24 15:39:25 +00:00
c Update copyright years. 2019-01-01 13:31:55 +01:00
c_compatibility Update copyright years. 2019-01-01 13:31:55 +01:00
c_global Update copyright years. 2019-01-01 13:31:55 +01:00
c_std Update copyright years. 2019-01-01 13:31:55 +01:00
debug Fix after P0600. 2019-01-21 11:47:30 +00:00
decimal Update copyright years. 2019-01-01 13:31:55 +01:00
experimental Fix after P0600. 2019-01-21 11:47:30 +00:00
ext Fix after P0600. 2019-01-21 11:47:30 +00:00
parallel PR libstdc++/88607 replace or remove unnecessary UTF-8 characters 2019-01-03 20:38:11 +00:00
precompiled Update copyright years. 2019-01-01 13:31:55 +01:00
profile Fix after P0600. 2019-01-21 11:47:30 +00:00
std Fix after P0600. 2019-01-21 11:47:30 +00:00
tr1 Fix after P0600. 2019-01-21 11:47:30 +00:00
tr2 Fix after P0600. 2019-01-21 11:47:30 +00:00
Makefile.am Update copyright years. 2019-01-01 13:31:55 +01:00
Makefile.in Implement uniform container erasure for C++20. 2018-11-28 16:44:25 +00:00