Skip to content

Commit

Permalink
Update ch08.tex
Browse files Browse the repository at this point in the history
  • Loading branch information
MeouSker77 authored Mar 8, 2021
1 parent f5f2e40 commit c843dd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion latex/src/ch08.tex
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ \section{异常声明作为类型的一部分}\label{ch8.7}
重载一个签名完全相同只有异常声明不同的函数是不允许的(就像不允许重载只有返回值不同的函数一样):
\begin{lstlisting}
void f3();
void f3(); noexcept; // ERROR
void f3() noexcept; // ERROR
\end{lstlisting}
注意其他的规则不受影响。例如,你仍然不能忽略基类中的\texttt{noexcept}声明:
\begin{lstlisting}
Expand Down

0 comments on commit c843dd7

Please sign in to comment.