cpp-book icon indicating copy to clipboard operation
cpp-book copied to clipboard

sizeofでの()について

Open bellbind opened this issue 10 years ago • 1 comments

構文としては、sizeof 式sizeof (形名)は区別され、前者は括弧が必須ではありません。

N3337 p104 "5.3 Unary expresssions"では

sizeof unary-expression
sizeof ( type-id )
sizeof ... ( identifier )

bellbind avatar Oct 23 '14 09:10 bellbind

その部分は省略しました。

EzoeRyou avatar Oct 28 '14 03:10 EzoeRyou