C言語なら俺に聞け(入門編)Part 106
■ このスレッドは過去ログ倉庫に格納されています
0445デフォルトの名無しさん
2012/09/02(日) 07:54:18.46現規格上では場面によっては違わないはず、という意見がある。
ISO/IEC 9899:1999 67.5.3.14
An identifier list declares only the identifiers of the parameters of the function. An empty
list in a function declarator that is part of a definition of that function specifies that the
function has no parameters.
関数定義における空のパラメータリストは、パラメータがないことを示す。
The empty list in a function declarator that is not part of a definition of that function specifies
that no information about the number or types of the parameters is supplied.124
関数定義ではないところでの空のパラメータはパラメータに関する仮定がないことを示す。
■ このスレッドは過去ログ倉庫に格納されています