mirror of
https://github.com/boostorg/more.git
synced 2024-12-27 23:40:13 +08:00
Added stand-alone headers guideline.
[SVN r11774]
This commit is contained in:
parent
4ffd58a7d1
commit
a23d63cd9c
@ -39,6 +39,10 @@ these are also reasonable guidelines for general use.
|
||||
to older approaches such as adding funny prefixes to global names.
|
||||
Libraries which are designed to work well with other Boost libraries should
|
||||
be placed namespace <tt>boost</tt>.</li>
|
||||
|
||||
<li>Make sure that a translation unit consisting of just the
|
||||
contents of the header file will compile successfully.
|
||||
|
||||
<li>Place the header file in a sub-directory to prevent conflict with
|
||||
identically named header files in other libraries. The parent
|
||||
directory is added to the compiler's include search path. Then both
|
||||
|
Loading…
Reference in New Issue
Block a user