Skip to content

Commit 6a8b155

Browse files
burblebeetkoeppe
authored andcommitted
[meta.type.synop, meta.const.eval] Rewrite declarations using auto
See #4822 for the general policy on when to use abbreviated function template syntax.
1 parent 0facada commit 6a8b155

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

source/meta.tex

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -583,8 +583,7 @@
583583

584584
// \ref{meta.const.eval}, constant evaluation context
585585
constexpr bool is_constant_evaluated() noexcept;
586-
template<class T>
587-
consteval bool is_within_lifetime(const T*) noexcept;
586+
consteval bool is_within_lifetime(const auto*) noexcept;
588587
}
589588
\end{codeblock}
590589

@@ -2436,8 +2435,7 @@
24362435

24372436
\indexlibraryglobal{is_within_lifetime}%
24382437
\begin{itemdecl}
2439-
template<class T>
2440-
consteval bool is_within_lifetime(const T* p) noexcept;
2438+
consteval bool is_within_lifetime(const auto* p) noexcept;
24412439
\end{itemdecl}
24422440

24432441
\begin{itemdescr}

0 commit comments

Comments
 (0)