From a23d63cd9c44932d4e5517883816e30cb1af40d0 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Fri, 23 Nov 2001 03:09:39 +0000 Subject: [PATCH] Added stand-alone headers guideline. [SVN r11774] --- header.htm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/header.htm b/header.htm index 742752e..08d9480 100644 --- a/header.htm +++ b/header.htm @@ -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 boost. + +
  • Make sure that a translation unit consisting of just the + contents of the header file will compile successfully. +
  • 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