In http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf only header
is mentioned.
In https://github.com/cplusplus/draft/blob/master/papers/n4727.pdf header file
appears twice:
[ Note: The non-member functions enable programmers to write code that can be compiled as either C or C++, for example in a shared header file. — end note ]
Difficulty of converting: Semantic transformation. The type definitions must be moved to file scope, or in header files
Edit: let's see the note in n4727:
A header is not necessarily a source file, nor are the sequences delimited by < and > in header names necessarily valid source file names.
So, I still think they are different concepts.
My question is, what's the difference between header
and header file
? Now that header
is not necessarily a source file, what else can it be?