Skip to content

Commit 86a1ffc

Browse files
burblebeetkoeppe
authored andcommitted
LWG3515 §[stacktrace.basic.nonmem]: operator<< should be less templatized
1 parent 3e9fc48 commit 86a1ffc

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

source/diagnostics.tex

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1752,13 +1752,9 @@
17521752
template<class Allocator>
17531753
string to_string(const basic_stacktrace<Allocator>& st);
17541754

1755-
template<class charT, class traits>
1756-
basic_ostream<charT, traits>&
1757-
operator<<(basic_ostream<charT, traits>& os, const stacktrace_entry& f);
1758-
1759-
template<class charT, class traits, class Allocator>
1760-
basic_ostream<charT, traits>&
1761-
operator<<(basic_ostream<charT, traits>& os, const basic_stacktrace<Allocator>& st);
1755+
ostream& operator<<(ostream& os, const stacktrace_entry& f);
1756+
template<class Allocator>
1757+
ostream& operator<<(ostream& os, const basic_stacktrace<Allocator>& st);
17621758

17631759
namespace pmr {
17641760
using stacktrace = basic_stacktrace<polymorphic_allocator<stacktrace_entry>>;
@@ -2391,9 +2387,7 @@
23912387

23922388
\indexlibrarymember{operator<<}{stacktrace_entry}%
23932389
\begin{itemdecl}
2394-
template<class charT, class traits>
2395-
basic_ostream<charT, traits>&
2396-
operator<<(basic_ostream<charT, traits>& os, const stacktrace_entry& f);
2390+
ostream& operator<<(ostream& os, const stacktrace_entry& f);
23972391
\end{itemdecl}
23982392

23992393
\begin{itemdescr}
@@ -2404,9 +2398,8 @@
24042398

24052399
\indexlibrarymember{operator<<}{basic_stacktrace}%
24062400
\begin{itemdecl}
2407-
template<class charT, class traits, class Allocator>
2408-
basic_ostream<charT, traits>&
2409-
operator<<(basic_ostream<charT, traits>& os, const basic_stacktrace<Allocator>& st);
2401+
template<class Allocator>
2402+
ostream& operator<<(ostream& os, const basic_stacktrace<Allocator>& st);
24102403
\end{itemdecl}
24112404

24122405
\begin{itemdescr}

0 commit comments

Comments
 (0)