Commit 2fd9859
committed
Use std::void_t rather than shipping another one
stdc::void_t was a template alias of the kind that exists to make SFINAE
work, and C++17 has it in <type_traits>, which algorithms.h already
includes. The two traits that used it use the standard one now and the
alias is gone, which takes it out of the documentation as a consequence
rather than by hiding it.
Hiding it was the first attempt, and worth recording why it did not work.
It went in EXCLUDE_SYMBOLS, the containers topic page still showed it,
and the reason I did not notice is that I read the Classes list, where a
template alias is not: it was under Typedefs. Reading the list to the end
would have said so.
Windows 371, Linux 366, docs clean.1 parent d42b1e5 commit 2fd9859
2 files changed
Lines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 16 | | |
20 | 17 | | |
21 | 18 | | |
22 | 19 | | |
23 | | - | |
| 20 | + | |
24 | 21 | | |
25 | 22 | | |
26 | 23 | | |
27 | 24 | | |
28 | 25 | | |
29 | | - | |
| 26 | + | |
30 | 27 | | |
31 | 28 | | |
32 | 29 | | |
| |||
0 commit comments