From 13ccf0bd77f0388abc364ca0795b1cf1d1220801 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Kr=C3=BCgler?= Date: Sun, 26 Nov 2023 18:20:37 +0100 Subject: [PATCH] Add some missing code fonts --- xml/issue4015.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/xml/issue4015.xml b/xml/issue4015.xml index 2a544868ee..ba4d6b4c6a 100644 --- a/xml/issue4015.xml +++ b/xml/issue4015.xml @@ -284,7 +284,7 @@ constexpr optional<T>& operator=(const optional& rhs); rhs contains a value -assigns *rhs.val to valthe contained value +assigns *rhs.val to valthe contained value direct-non-list-initializes valthe contained value with *rhs.val
and sets has_val to true @@ -329,7 +329,7 @@ constexpr optional<T>& operator=(optional&& rhs) noexcept(s rhs contains a value -assigns std::move(*rhs.val) to valthe contained value +assigns std::move(*rhs.val) to valthe contained value direct-non-list-initializes valthe contained value with std::move(*rhs.val) and sets has_val to true @@ -395,7 +395,7 @@ template<class U> constexpr optional<T>& operator=(const optiona rhs contains a value -assigns *rhs.val to valthe contained value +assigns *rhs.val to valthe contained value direct-non-list-initializes valthe contained value with *rhs.val and sets has_val to true @@ -441,7 +441,7 @@ template<class U> constexpr optional<T>& operator=(optional<U rhs contains a value -assigns std::move(*rhs.val) to valthe contained value +assigns std::move(*rhs.val) to valthe contained value direct-non-list-initializes valthe contained value with
std::move(*rhs.val) and sets has_val to true @@ -627,7 +627,7 @@ constexpr bool has_value() const noexcept;

--11- Returns: has_valtrue if and only if *this contains a value. +-11- Returns: has_valtrue if and only if *this contains a value.

-12- Remarks: These functions areThis function is a constexpr functions.