Skip to content

Commit cc8c491

Browse files
committed
[support.exception], [except.nested]: Attributes should be written after
'template<...>', not before. Fixes #363.
1 parent 3223c1c commit cc8c491

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/support.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2595,7 +2595,7 @@
25952595
[[noreturn]] void rethrow_exception(exception_ptr p);
25962596
template<class E> exception_ptr make_exception_ptr(E e) noexcept;
25972597

2598-
[[noreturn]] template <class T> void throw_with_nested(T&& t);
2598+
template <class T> [[noreturn]] void throw_with_nested(T&& t);
25992599
template <class E> void rethrow_if_nested(const E& e);
26002600
}
26012601
\end{codeblock}
@@ -3006,7 +3006,7 @@
30063006
exception_ptr nested_ptr() const noexcept;
30073007
};
30083008

3009-
[[noreturn]] template<class T> void throw_with_nested(T&& t);
3009+
template<class T> [[noreturn]] void throw_with_nested(T&& t);
30103010
template <class E> void rethrow_if_nested(const E& e);
30113011
}
30123012
\end{codeblock}
@@ -3058,7 +3058,7 @@
30583058
\indexlibrary{\idxcode{throw_with_nested}!\idxcode{nested_exception}}
30593059
\indexlibrary{\idxcode{nested_exception}!\idxcode{throw_with_nested}}
30603060
\begin{itemdecl}
3061-
[[noreturn]] template <class T> void throw_with_nested(T&& t);
3061+
template <class T> [[noreturn]] void throw_with_nested(T&& t);
30623062
\end{itemdecl}
30633063

30643064
\begin{itemdescr}

0 commit comments

Comments
 (0)