gcc/cp: 2019-02-19 Tom Honermann <tom@honermann.net> * name-lookup.c (get_std_name_hint): Added u8string as a name hint. libstdc++: 2019-02-19 Tom Honermann <tom@honermann.net> P0482R5 char8_t: Standard library support * config/abi/pre/gnu-versioned-namespace.ver (CXXABI_2.0): Add typeinfo symbols for char8_t. * config/abi/pre/gnu.ver: Add CXXABI_1.3.12. (GLIBCXX_3.4.26): Add symbols for specializations of numeric_limits and codecvt that involve char8_t. (CXXABI_1.3.12): Add typeinfo symbols for char8_t. * include/bits/atomic_base.h: Add atomic_char8_t. * include/bits/basic_string.h: Add std::hash<u8string> and operator""s(const char8_t*, size_t). * include/bits/c++config: Define _GLIBCXX_USE_CHAR8_T and __cpp_lib_char8_t. * include/bits/char_traits.h: Add char_traits<char8_t>. * include/bits/codecvt.h: Add codecvt<char16_t, char8_t, mbstate_t>, codecvt<char32_t, char8_t, mbstate_t>, codecvt_byname<char16_t, char8_t, mbstate_t>, and codecvt_byname<char32_t, char8_t, mbstate_t>. * include/bits/cpp_type_traits.h: Add __is_integer<char8_t> to recognize char8_t as an integral type. * include/bits/fs_path.h: (path::__is_encoded_char): Recognize char8_t. (path::u8string): Return std::u8string when char8_t support is enabled. (path::generic_u8string): Likewise. (path::_S_convert): Handle conversion from char8_t input. (path::_S_str_convert): Likewise. * include/bits/functional_hash.h: Add hash<char8_t>. * include/bits/locale_conv.h (__str_codecvt_out): Add overloads for char8_t. * include/bits/locale_facets.h (_GLIBCXX_NUM_UNICODE_FACETS): Bump for new char8_t specializations. * include/bits/localefwd.h: Add missing declarations of codecvt<char16_t, char, mbstate_t> and codecvt<char32_t, char, mbstate_t>. Add char8_t declarations codecvt<char16_t, char8_t, mbstate_t> and codecvt<char32_t, char8_t, mbstate_t>. * include/bits/postypes.h: Add u8streampos * include/bits/stringfwd.h: Add declarations of char_traits<char8_t> and u8string. * include/c_global/cstddef: Add __byte_operand<char8_t>. * include/experimental/bits/fs_path.h (path::__is_encoded_char): Recognize char8_t. (path::u8string): Return std::u8string when char8_t support is enabled. (path::generic_u8string): Likewise. (path::_S_convert): Handle conversion from char8_t input. (path::_S_str_convert): Likewise. * include/experimental/string: Add u8string. * include/experimental/string_view: Add u8string_view, hash<experimental::u8string_view>, and operator""sv(const char8_t*, size_t). * include/std/atomic: Add atomic<char8_t> and atomic_char8_t. * include/std/charconv (__is_int_to_chars_type): Recognize char8_t as a character type. * include/std/limits: Add numeric_limits<char8_t>. * include/std/string_view: Add u8string_view, hash<experimental::u8string_view>, and operator""sv(const char8_t*, size_t). * include/std/type_traits: Add __is_integral_helper<char8_t>, __make_unsigned<char8_t>, and __make_signed<char8_t>. * libsupc++/atomic_lockfree_defines.h: Define ATOMIC_CHAR8_T_LOCK_FREE. * src/c++11/Makefile.am: Compile with -fchar8_t when compiling codecvt.cc and limits.cc so that char8_t specializations of numeric_limits and codecvt and emitted. * src/c++11/Makefile.in: Likewise. * src/c++11/codecvt.cc: Define members of codecvt<char16_t, char8_t, mbstate_t>, codecvt<char32_t, char8_t, mbstate_t>, codecvt_byname<char16_t, char8_t, mbstate_t>, and codecvt_byname<char32_t, char8_t, mbstate_t>. * src/c++11/limits.cc: Define members of numeric_limits<char8_t>. * src/c++98/Makefile.am: Compile with -fchar8_t when compiling locale_init.cc and localename.cc. * src/c++98/Makefile.in: Likewise. * src/c++98/locale_init.cc: Add initialization for the codecvt<char16_t, char8_t, mbstate_t> and codecvt<char32_t, char8_t, mbstate_t> facets. * src/c++98/localename.cc: Likewise. * testsuite/util/testsuite_abi.cc: Validate ABI bump. From-SVN: r269004
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
algorithmfwd.h | Loading commit data... | |
alloc_traits.h | Loading commit data... | |
allocated_ptr.h | Loading commit data... | |
allocator.h | Loading commit data... | |
atomic_base.h | Loading commit data... | |
atomic_futex.h | Loading commit data... | |
basic_ios.h | Loading commit data... | |
basic_ios.tcc | Loading commit data... | |
basic_string.h | Loading commit data... | |
basic_string.tcc | Loading commit data... | |
boost_concept_check.h | Loading commit data... | |
c++0x_warning.h | Loading commit data... | |
c++config | Loading commit data... | |
char_traits.h | Loading commit data... | |
codecvt.h | Loading commit data... | |
concept_check.h | Loading commit data... | |
cpp_type_traits.h | Loading commit data... | |
deque.tcc | Loading commit data... | |
enable_special_members.h | Loading commit data... | |
erase_if.h | Loading commit data... | |
forward_list.h | Loading commit data... | |
forward_list.tcc | Loading commit data... | |
fs_dir.h | Loading commit data... | |
fs_fwd.h | Loading commit data... | |
fs_ops.h | Loading commit data... | |
fs_path.h | Loading commit data... | |
fstream.tcc | Loading commit data... | |
functexcept.h | Loading commit data... | |
functional_hash.h | Loading commit data... | |
gslice.h | Loading commit data... | |
gslice_array.h | Loading commit data... | |
hashtable.h | Loading commit data... | |
hashtable_policy.h | Loading commit data... | |
indirect_array.h | Loading commit data... | |
invoke.h | Loading commit data... | |
ios_base.h | Loading commit data... | |
istream.tcc | Loading commit data... | |
list.tcc | Loading commit data... | |
locale_classes.h | Loading commit data... | |
locale_classes.tcc | Loading commit data... | |
locale_conv.h | Loading commit data... | |
locale_facets.h | Loading commit data... | |
locale_facets.tcc | Loading commit data... | |
locale_facets_nonio.h | Loading commit data... | |
locale_facets_nonio.tcc | Loading commit data... | |
localefwd.h | Loading commit data... | |
mask_array.h | Loading commit data... | |
memoryfwd.h | Loading commit data... | |
move.h | Loading commit data... | |
node_handle.h | Loading commit data... | |
ostream.tcc | Loading commit data... | |
ostream_insert.h | Loading commit data... | |
parse_numbers.h | Loading commit data... | |
postypes.h | Loading commit data... | |
predefined_ops.h | Loading commit data... | |
ptr_traits.h | Loading commit data... | |
quoted_string.h | Loading commit data... | |
random.h | Loading commit data... | |
random.tcc | Loading commit data... | |
range_access.h | Loading commit data... | |
refwrap.h | Loading commit data... | |
regex.h | Loading commit data... | |
regex.tcc | Loading commit data... | |
regex_automaton.h | Loading commit data... | |
regex_automaton.tcc | Loading commit data... | |
regex_compiler.h | Loading commit data... | |
regex_compiler.tcc | Loading commit data... | |
regex_constants.h | Loading commit data... | |
regex_error.h | Loading commit data... | |
regex_executor.h | Loading commit data... | |
regex_executor.tcc | Loading commit data... | |
regex_scanner.h | Loading commit data... | |
regex_scanner.tcc | Loading commit data... | |
shared_ptr.h | Loading commit data... | |
shared_ptr_atomic.h | Loading commit data... | |
shared_ptr_base.h | Loading commit data... | |
slice_array.h | Loading commit data... | |
specfun.h | Loading commit data... | |
sstream.tcc | Loading commit data... | |
std_abs.h | Loading commit data... | |
std_function.h | Loading commit data... | |
std_mutex.h | Loading commit data... | |
stl_algo.h | Loading commit data... | |
stl_algobase.h | Loading commit data... | |
stl_bvector.h | Loading commit data... | |
stl_construct.h | Loading commit data... | |
stl_deque.h | Loading commit data... | |
stl_function.h | Loading commit data... | |
stl_heap.h | Loading commit data... | |
stl_iterator.h | Loading commit data... | |
stl_iterator_base_funcs.h | Loading commit data... | |
stl_iterator_base_types.h | Loading commit data... | |
stl_list.h | Loading commit data... | |
stl_map.h | Loading commit data... | |
stl_multimap.h | Loading commit data... | |
stl_multiset.h | Loading commit data... | |
stl_numeric.h | Loading commit data... | |
stl_pair.h | Loading commit data... | |
stl_queue.h | Loading commit data... | |
stl_raw_storage_iter.h | Loading commit data... | |
stl_relops.h | Loading commit data... | |
stl_set.h | Loading commit data... | |
stl_stack.h | Loading commit data... | |
stl_tempbuf.h | Loading commit data... | |
stl_tree.h | Loading commit data... | |
stl_uninitialized.h | Loading commit data... | |
stl_vector.h | Loading commit data... | |
stream_iterator.h | Loading commit data... | |
streambuf.tcc | Loading commit data... | |
streambuf_iterator.h | Loading commit data... | |
string_view.tcc | Loading commit data... | |
stringfwd.h | Loading commit data... | |
uniform_int_dist.h | Loading commit data... | |
unique_lock.h | Loading commit data... | |
unique_ptr.h | Loading commit data... | |
unordered_map.h | Loading commit data... | |
unordered_set.h | Loading commit data... | |
uses_allocator.h | Loading commit data... | |
valarray_after.h | Loading commit data... | |
valarray_array.h | Loading commit data... | |
valarray_array.tcc | Loading commit data... | |
valarray_before.h | Loading commit data... | |
vector.tcc | Loading commit data... |