Subject: Re: Contradiction in the description of the pack expansion
From: Ville Voutilainen (ville.voutilainen_at_[hidden])
Date: 2019-08-16 10:26:00
On Fri, 16 Aug 2019 at 18:23, Language Lawyer via Std-Discussion
> >> 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,
STD-DISCUSSION list run by herb.sutter at gmail.com
Older Archives on Google Groups