|
1400 | 1400 | two arguments is similar to an instantiation of \tcode{pair} with the same two arguments.
|
1401 | 1401 | See~\ref{pairs}.
|
1402 | 1402 |
|
1403 |
| -\pnum |
1404 |
| -\synopsis{Header \tcode{<tuple>} synopsis} |
| 1403 | +\rSec2[tuple.syn]{Header \tcode{<tuple>} synopsis} |
| 1404 | +\indexlibrary{\idxhdr{tuple}} |
1405 | 1405 |
|
1406 |
| -\indexlibrary{\idxhdr{tuple}}% |
1407 | 1406 | \begin{codeblock}
|
1408 | 1407 | namespace std {
|
1409 | 1408 | // \ref{tuple.tuple}, class template \tcode{tuple}
|
|
2512 | 2511 | object is tracked by the optional object.
|
2513 | 2512 |
|
2514 | 2513 | \rSec2[optional.syn]{Header \tcode{<optional>} synopsis}
|
| 2514 | +\indexlibrary{\idxhdr{optional}} |
2515 | 2515 |
|
2516 |
| -\indexlibrary{\idxhdr{optional}}% |
2517 | 2516 | \begin{codeblock}
|
2518 | 2517 | namespace std {
|
2519 | 2518 | // \ref{optional.optional}, optional
|
|
3989 | 3988 | of the template argument types given to variant.
|
3990 | 3989 | These template arguments are called alternatives.
|
3991 | 3990 |
|
3992 |
| -\indexlibrary{\idxhdr{variant}}% |
3993 |
| -\synopsis{Header \tcode{<variant>} synopsis} |
| 3991 | +\rSec2[variant.syn]{Header \tcode{<variant>} synopsis} |
| 3992 | +\indexlibrary{\idxhdr{variant}} |
3994 | 3993 |
|
3995 | 3994 | \begin{codeblock}
|
3996 | 3995 | namespace std {
|
|
4002 | 4001 | template <class T> struct variant_size<const T>;
|
4003 | 4002 | template <class T> struct variant_size<volatile T>;
|
4004 | 4003 | template <class T> struct variant_size<const volatile T>;
|
4005 |
| - template <class T> constexpr size_t variant_size_v |
4006 |
| - = variant_size<T>::value; |
| 4004 | + template <class T> |
| 4005 | + constexpr size_t variant_size_v = variant_size<T>::value; |
4007 | 4006 |
|
4008 | 4007 | template <class... Types>
|
4009 | 4008 | struct variant_size<variant<Types...>>;
|
|
0 commit comments