Fix 2 typos in documentation of libstdc++.
PR libstdc++/93478 * include/std/atomic: Fix typo. * include/std/optional: Likewise.
This commit is contained in:
parent
bff948aa33
commit
06d481d044
@ -1,3 +1,9 @@
|
||||
2020-01-28 Martin Liska <mliska@suse.cz>
|
||||
|
||||
PR libstdc++/93478
|
||||
* include/std/atomic: Fix typo.
|
||||
* include/std/optional: Likewise.
|
||||
|
||||
2020-01-27 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||
|
||||
* configure: Regenerate.
|
||||
|
@ -174,7 +174,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
/**
|
||||
* @brief Generic atomic type, primary class template.
|
||||
*
|
||||
* @tparam _Tp Type to be made atomic, must be trivally copyable.
|
||||
* @tparam _Tp Type to be made atomic, must be trivially copyable.
|
||||
*/
|
||||
template<typename _Tp>
|
||||
struct atomic
|
||||
|
@ -453,7 +453,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
* Such a separate base class template is necessary in order to
|
||||
* conditionally make copy/move constructors trivial.
|
||||
*
|
||||
* When the contained value is trivally copy/move constructible,
|
||||
* When the contained value is trivially copy/move constructible,
|
||||
* the copy/move constructors of _Optional_base will invoke the
|
||||
* trivial copy/move constructor of _Optional_payload. Otherwise,
|
||||
* they will invoke _Optional_payload(bool, const _Optional_payload&)
|
||||
|
Loading…
Reference in New Issue
Block a user