mirror of
https://github.com/boostorg/more.git
synced 2025-04-02 15:00:16 +08:00
Added "why .hpp?" Q & A
[SVN r11140]
This commit is contained in:
parent
aeef32cc35
commit
30ebf201ac
10
faq.htm
10
faq.htm
@ -142,9 +142,17 @@ care about. Boost list posters are
|
||||
encouraged to include keywords in the subject like "thread",
|
||||
"review", and "CVS" to aid message filtering.</p>
|
||||
|
||||
<p><b>Why do Boost headers have a .hpp suffix rather than .h or none at all?</b>
|
||||
File extensions communicate the "type" of the file, both to humans and
|
||||
to computer programs. The '.h' extension is used for C header files, and
|
||||
therefore communicates the wrong thing about C++ header files. Using no
|
||||
extension communicates nothing and forces inspection of file contents to
|
||||
determine type. Using '.hpp' unambiguously identifies it as C++ header file, and
|
||||
works well in actual practice. (Rainer Deyke)</p>
|
||||
|
||||
<hr>
|
||||
|
||||
<p>Revised <!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->30 July, 2001<!--webbot bot="Timestamp" endspan i-checksum="21063" -->
|
||||
<p>Revised <!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->18 September, 2001<!--webbot bot="Timestamp" endspan i-checksum="39344" -->
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user