commit 041ae901cccdb321d584a644724480bd076ddcf5 Author: Jonathan Wakely Date: Thu May 30 11:13:00 2019 +0100 Update documentation of implementation-defined library features * doc/xml/manual/status_cxx2011.xml: Use for documentation of implementation-defined types for [thread.req.native]. * doc/xml/manual/status_cxx2017.xml: Update documentation of implementation-defined strings for [variant.bad.access]. Fix typo in documentation of implementation-defined support for [fs.conform.9945]. * doc/html/*: Regenerate. diff --git a/libstdc++-v3/doc/xml/manual/status_cxx2011.xml b/libstdc++-v3/doc/xml/manual/status_cxx2011.xml index 9c25b8fd81f..6f3551ff65d 100644 --- a/libstdc++-v3/doc/xml/manual/status_cxx2011.xml +++ b/libstdc++-v3/doc/xml/manual/status_cxx2011.xml @@ -2793,31 +2793,44 @@ particular release. is subject to change at any time. Any use of native_handle is inherently non-portable and not guaranteed to work between major releases of GCC. - - thread: The native handle type is - a typedef for __gthread_t i.e. pthread_t - when GCC is configured with the posix thread - model. The value of the native handle is undefined for a thread + + + thread + + The native handle type is a typedef for __gthread_t + i.e. pthread_t when GCC is configured with the + posix thread model. + The value of the native handle is undefined for a thread which is not joinable. - - mutex and - timed_mutex: + + + + mutex + timed_mutex + The native handle type is __gthread_mutex_t* i.e. pthread_mutex_t* for the posix thread model. - - recursive_mutex and - recursive_timed_mutex: + + + + recursive_mutex + recursive_timed_mutex + The native handle type is __gthread_recursive_mutex_t* i.e. pthread_mutex_t* for the posix thread model. - - condition_variable: The native - handle type is __gthread_cond_t* i.e. + + + + condition_variable + + The native handle type is __gthread_cond_t* i.e. pthread_cond_t* for the posix thread model. - - + + + diff --git a/libstdc++-v3/doc/xml/manual/status_cxx2017.xml b/libstdc++-v3/doc/xml/manual/status_cxx2017.xml index a11e93cda90..9aba079c251 100644 --- a/libstdc++-v3/doc/xml/manual/status_cxx2017.xml +++ b/libstdc++-v3/doc/xml/manual/status_cxx2017.xml @@ -1043,7 +1043,11 @@ and test for __STDCPP_MATH_SPEC_FUNCS__ >= 201003L. 23.7.10 [variant.bad.access] - what() returns "Unexpected index". + what() returns one of the strings + "std::get: variant is valueless", + "std::get: wrong index for variant", + "std::visit: variant is valueless", + or "std::visit<R>: variant is valueless". @@ -1117,7 +1121,7 @@ and test for __STDCPP_MATH_SPEC_FUNCS__ >= 201003L. 30.10.2.1 [fs.conform.9945] The behavior of the filesystem library implementation will depend on - the target operating system. Some features will not be not supported + the target operating system. Some features will not be supported on some targets.