File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -10867,19 +10867,19 @@
10867
10867
10868
10868
\indexlibraryglobal {saturate_cast}%
10869
10869
\begin {itemdecl }
10870
- template<class T , class U >
10871
- constexpr T saturate_cast(U x) noexcept;
10870
+ template<class R , class T >
10871
+ constexpr R saturate_cast(T x) noexcept;
10872
10872
\end {itemdecl }
10873
10873
10874
10874
\begin {itemdescr }
10875
10875
\pnum
10876
10876
\constraints
10877
- \tcode {T } and \tcode {U } are signed or unsigned integer types\iref {basic.fundamental }.
10877
+ \tcode {R } and \tcode {T } are signed or unsigned integer types\iref {basic.fundamental }.
10878
10878
10879
10879
\pnum
10880
10880
\returns
10881
- If \tcode {x} is representable as a value of type \tcode {T }, \tcode {x};
10882
- otherwise, either the largest or smallest representable value of type \tcode {T },
10881
+ If \tcode {x} is representable as a value of type \tcode {R }, \tcode {x};
10882
+ otherwise, either the largest or smallest representable value of type \tcode {R },
10883
10883
whichever is closer to the value of \tcode {x}.
10884
10884
\end {itemdescr }
10885
10885
You can’t perform that action at this time.
0 commit comments