Date: Fri, 16 Aug 2019 18:26:00 +0300
On Fri, 16 Aug 2019 at 18:23, Language Lawyer via Std-Discussion
<std-discussion_at_[hidden]> wrote:
> >> The `sizeof...` operator also contains an ellipsis. It just happens that the ellipsis is not adjacent to the pack.
> > It contains an ellipsis but it's not a pack expansion.
> "A sizeof... expression is a pack expansion" (http://eel.is/c++draft/expr.sizeof#4.sentence-3) is a lie?
I'm surprised by that way of specifying it, because it doesn't need to
expand the pack to count the elements in it,
but fine.
<std-discussion_at_[hidden]> wrote:
> >> The `sizeof...` operator also contains an ellipsis. It just happens that the ellipsis is not adjacent to the pack.
> > It contains an ellipsis but it's not a pack expansion.
> "A sizeof... expression is a pack expansion" (http://eel.is/c++draft/expr.sizeof#4.sentence-3) is a lie?
I'm surprised by that way of specifying it, because it doesn't need to
expand the pack to count the elements in it,
but fine.
Received on 2019-08-16 10:28:13