|
4555 | 4555 | \end{example} |
4556 | 4556 |
|
4557 | 4557 | \pnum |
4558 | | -The result of \tcode{sizeof} and \tcode{sizeof...} is a constant of type |
4559 | | -\tcode{std::size_t}. |
4560 | | -\begin{note} |
4561 | 4558 | \indextext{\idxcode{size_t}}% |
4562 | 4559 | \indexlibrary{\idxcode{size_t}}% |
4563 | | -\tcode{std::size_t} is defined in the standard header |
| 4560 | +The result of \tcode{sizeof} and \tcode{sizeof...} is a prvalue of type |
| 4561 | +\tcode{std::size_t}. |
| 4562 | +\begin{note} |
| 4563 | +A \tcode{sizeof} expression |
| 4564 | +is an integral constant expression\iref{expr.const}. |
| 4565 | +The type \tcode{std::size_t} is defined in the standard header |
4564 | 4566 | \indexhdr{cstddef}% |
4565 | 4567 | \tcode{<cstddef>}~(\ref{cstddef.syn}, \ref{support.types.layout}). |
4566 | 4568 | \end{note} |
|
4576 | 4578 | to one of those types. |
4577 | 4579 |
|
4578 | 4580 | \pnum |
4579 | | -The result is an integral constant of type |
4580 | | -\tcode{std::size_t}. |
| 4581 | +The result is a prvalue of type \tcode{std::size_t}. |
| 4582 | +\begin{note} |
| 4583 | +An \tcode{alignof} expression |
| 4584 | +is an integral constant expression\iref{expr.const}. |
| 4585 | +The type \tcode{std::size_t} is defined in the standard header |
| 4586 | +\indexhdr{cstddef}% |
| 4587 | +\tcode{<cstddef>}~(\ref{cstddef.syn}, \ref{support.types.layout}). |
| 4588 | +\end{note} |
4581 | 4589 |
|
4582 | 4590 | \pnum |
4583 | 4591 | When \tcode{alignof} is applied to a reference type, the result |
|
4600 | 4608 | \end{bnf} |
4601 | 4609 |
|
4602 | 4610 | \pnum |
4603 | | -The result of the \tcode{noexcept} operator is a constant of type \tcode{bool} |
4604 | | -and is a prvalue. |
| 4611 | +The result of the \tcode{noexcept} operator is a prvalue of type \tcode{bool}. |
| 4612 | +\begin{note} |
| 4613 | +A \grammarterm{noexcept-expression} |
| 4614 | +is an integral constant expression\iref{expr.const}. |
| 4615 | +The type \tcode{std::size_t} is defined in the standard header |
| 4616 | +\indexhdr{cstddef}% |
| 4617 | +\tcode{<cstddef>}~(\ref{cstddef.syn}, \ref{support.types.layout}). |
| 4618 | +\end{note} |
4605 | 4619 |
|
4606 | 4620 | \pnum |
4607 | 4621 | The result of the \tcode{noexcept} operator is \tcode{true} |
|
0 commit comments