|
|
sizeof expects a type or an expression. Args and args are not types or expressions, they are parameter packs. sizeof... accepts a pack, so you could compile |
|
sizeof on my textbook, but if Args is not a type, then what is it? I would guess it's a template class like iinitializer_list<T> , but then could sizeof be used on a class? I know that it can be used on string for sure.