Skip to content

Commit a820113

Browse files
[utility.as.const] Revert changes of as_const
1 parent 6824e11 commit a820113

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/utilities.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363

6464
// \ref{utility.as.const}, \tcode{as_const}
6565
template<class T>
66-
constexpr const T& as_const(T& t) noexcept;
66+
constexpr add_const_t<T>& as_const(T& t) noexcept;
6767
template<class T>
6868
void as_const(const T&&) = delete;
6969

@@ -495,7 +495,7 @@
495495

496496
\indexlibraryglobal{as_const}%
497497
\begin{itemdecl}
498-
template<class T> constexpr const T& as_const(T& t) noexcept;
498+
template<class T> constexpr add_const_t<T>& as_const(T& t) noexcept;
499499
\end{itemdecl}
500500

501501
\begin{itemdescr}

0 commit comments

Comments
 (0)