gcc/libstdc++-v3/include/ext
Jonathan Wakely 2af96386a6 Define std::__to_address helper
* include/bits/allocated_ptr.h (__allocated_ptr::get): Use
	__to_address.
	(__allocated_ptr::_S_raw_ptr): Remove.
	* include/bits/forward_list.h (_Fwd_list_base::_M_get_node): Use
	__to_address.
	* include/bits/hashtable_policy.h (_Hashtable_alloc): Likewise.
	* include/bits/ptr_traits.h (__to_address): Define new function
	template.
	* include/bits/shared_ptr_base.h (__shared_ptr): Use __to_address.
	(__shared_ptr::_S_raw_ptr): Remove.
	* include/bits/stl_vector.h [__cplusplus >= 201103L]
	(vector::_M_data_ptr): Use __to_address.
	[__cplusplus < 201103L] (vector::_M_data_ptr): Don't dereference
	possibly invalid pointers.
	* include/ext/alloc_traits.h (__alloc_traits::construct)
	(__alloc_traits::destroy): Use __to_address.

From-SVN: r252055
2017-09-13 08:27:40 +01:00
..
pb_ds Remove reundant const-qualification from cast targets 2017-04-27 16:17:05 +01:00
algorithm Update copyright years. 2017-01-01 13:07:43 +01:00
aligned_buffer.h Update copyright years. 2017-01-01 13:07:43 +01:00
alloc_traits.h Define std::__to_address helper 2017-09-13 08:27:40 +01:00
array_allocator.h Update copyright years. 2017-01-01 13:07:43 +01:00
atomicity.h Update copyright years. 2017-01-01 13:07:43 +01:00
bitmap_allocator.h re PR libstdc++/81064 (Inline namespace regression) 2017-07-23 08:41:35 +00:00
cast.h Update copyright years. 2017-01-01 13:07:43 +01:00
cmath Update copyright years. 2017-01-01 13:07:43 +01:00
codecvt_specializations.h re PR libstdc++/81064 (Inline namespace regression) 2017-07-23 08:41:35 +00:00
concurrence.h Update copyright years. 2017-01-01 13:07:43 +01:00
debug_allocator.h Update copyright years. 2017-01-01 13:07:43 +01:00
enc_filebuf.h Update copyright years. 2017-01-01 13:07:43 +01:00
extptr_allocator.h Update copyright years. 2017-01-01 13:07:43 +01:00
functional Update copyright years. 2017-01-01 13:07:43 +01:00
iterator Update copyright years. 2017-01-01 13:07:43 +01:00
malloc_allocator.h Update copyright years. 2017-01-01 13:07:43 +01:00
memory Update copyright years. 2017-01-01 13:07:43 +01:00
mt_allocator.h Update copyright years. 2017-01-01 13:07:43 +01:00
new_allocator.h PR c++/82039 suppress -Wzero-as-null-pointer-constant warning 2017-08-31 17:45:37 +01:00
numeric Update copyright years. 2017-01-01 13:07:43 +01:00
numeric_traits.h Update copyright years. 2017-01-01 13:07:43 +01:00
pod_char_traits.h Update copyright years. 2017-01-01 13:07:43 +01:00
pointer.h PR69301 don't assume atomic<T> can default construct T 2017-01-18 18:36:45 +00:00
pool_allocator.h Update copyright years. 2017-01-01 13:07:43 +01:00
random Add optimized implementation of mersenne twister for aarch64 2017-07-23 22:46:34 +00:00
random.tcc Update copyright years. 2017-01-01 13:07:43 +01:00
rb_tree Update copyright years. 2017-01-01 13:07:43 +01:00
rc_string_base.h Update copyright years. 2017-01-01 13:07:43 +01:00
rope re PR libstdc++/81064 (Inline namespace regression) 2017-07-23 08:41:35 +00:00
ropeimpl.h new (bad_array_new_length): Remove redundant semicolon after in-class member function definition. 2017-07-19 16:59:00 +00:00
slist Update copyright years. 2017-01-01 13:07:43 +01:00
sso_string_base.h Update copyright years. 2017-01-01 13:07:43 +01:00
stdio_filebuf.h Update copyright years. 2017-01-01 13:07:43 +01:00
stdio_sync_filebuf.h Update copyright years. 2017-01-01 13:07:43 +01:00
string_conversions.h Update copyright years. 2017-01-01 13:07:43 +01:00
throw_allocator.h Update copyright years. 2017-01-01 13:07:43 +01:00
type_traits.h Update copyright years. 2017-01-01 13:07:43 +01:00
typelist.h re PR libstdc++/81064 (Inline namespace regression) 2017-07-23 08:41:35 +00:00
vstring.h Update copyright years. 2017-01-01 13:07:43 +01:00
vstring.tcc Update copyright years. 2017-01-01 13:07:43 +01:00
vstring_fwd.h Update copyright years. 2017-01-01 13:07:43 +01:00
vstring_util.h Update copyright years. 2017-01-01 13:07:43 +01:00