Skip to content

Commit dc3b2b6

Browse files
committed
Tweak P/R for 4383
1 parent 198e7a6 commit dc3b2b6

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

xml/issue4383.xml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -221,25 +221,25 @@ function call operator.]
221221
constexpr auto operator--(this T, int) noexcept -> constant_wrapper<Y--> { return {}; }
222222

223223
template&lt;<i>constexpr-param</i> T, <i>constexpr-param</i> R&gt;
224-
constexpr auto operator+=(T, R) noexcept -&gt; constant_wrapper&lt;(T::value += R::value)&gt; { return {}; }
224+
constexpr auto operator+=(this T, R) noexcept -&gt; constant_wrapper&lt;(T::value += R::value)&gt; { return {}; }
225225
template&lt;<i>constexpr-param</i> T, <i>constexpr-param</i> R&gt;
226-
constexpr auto operator-=(T, R) noexcept -&gt; constant_wrapper&lt;(T::value -= R::value)&gt; { return {}; }
226+
constexpr auto operator-=(this T, R) noexcept -&gt; constant_wrapper&lt;(T::value -= R::value)&gt; { return {}; }
227227
template&lt;<i>constexpr-param</i> T, <i>constexpr-param</i> R&gt;
228-
constexpr auto operator*=(T, R) noexcept -&gt; constant_wrapper&lt;(T::value *= R::value)&gt; { return {}; }
228+
constexpr auto operator*=(this T, R) noexcept -&gt; constant_wrapper&lt;(T::value *= R::value)&gt; { return {}; }
229229
template&lt;<i>constexpr-param</i> T, <i>constexpr-param</i> R&gt;
230-
constexpr auto operator/=(T, R) noexcept -&gt; constant_wrapper&lt;(T::value /= R::value)&gt; { return {}; }
230+
constexpr auto operator/=(this T, R) noexcept -&gt; constant_wrapper&lt;(T::value /= R::value)&gt; { return {}; }
231231
template&lt;<i>constexpr-param</i> T, <i>constexpr-param</i> R&gt;
232-
constexpr auto operator%=(T, R) noexcept -&gt; constant_wrapper&lt;(T::value %= R::value)&gt; { return {}; }
232+
constexpr auto operator%=(this T, R) noexcept -&gt; constant_wrapper&lt;(T::value %= R::value)&gt; { return {}; }
233233
template&lt;<i>constexpr-param</i> T, <i>constexpr-param</i> R&gt;
234-
constexpr auto operator&amp;=(T, R) noexcept -&gt; constant_wrapper&lt;(T::value &amp;= R::value)&gt; { return {}; }
234+
constexpr auto operator&amp;=(this T, R) noexcept -&gt; constant_wrapper&lt;(T::value &amp;= R::value)&gt; { return {}; }
235235
template&lt;<i>constexpr-param</i> T, <i>constexpr-param</i> R&gt;
236-
constexpr auto operator|=(T, R) noexcept -&gt; constant_wrapper&lt;(T::value |= R::value)&gt; { return {}; }
236+
constexpr auto operator|=(this T, R) noexcept -&gt; constant_wrapper&lt;(T::value |= R::value)&gt; { return {}; }
237237
template&lt;<i>constexpr-param</i> T, <i>constexpr-param</i> R&gt;
238-
constexpr auto operator^=(T, R) noexcept -&gt; constant_wrapper&lt;(T::value ^= R::value)&gt; { return {}; }
238+
constexpr auto operator^=(this T, R) noexcept -&gt; constant_wrapper&lt;(T::value ^= R::value)&gt; { return {}; }
239239
template&lt;<i>constexpr-param</i> T, <i>constexpr-param</i> R&gt;
240-
constexpr auto operator&lt;&lt;=(T, R) noexcept -&gt; constant_wrapper&lt;(T::value &lt;&lt;= R::value)&gt; { return {}; }
240+
constexpr auto operator&lt;&lt;=(this T, R) noexcept -&gt; constant_wrapper&lt;(T::value &lt;&lt;= R::value)&gt; { return {}; }
241241
template&lt;<i>constexpr-param</i> T, <i>constexpr-param</i> R&gt;
242-
constexpr auto operator&gt;&gt;=(T, R) noexcept -&gt; constant_wrapper&lt;(T::value &gt;&gt;= R::value)&gt; { return {}; }</ins>
242+
constexpr auto operator&gt;&gt;=(this T, R) noexcept -&gt; constant_wrapper&lt;(T::value &gt;&gt;= R::value)&gt; { return {}; }</ins>
243243
};
244244
}
245245

0 commit comments

Comments
 (0)