From 003fceb58228349f392e8ae49c02a65bb8ca4bf5 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Thu, 25 Oct 2001 11:49:58 +0000 Subject: [PATCH] Added BOOST_MSVC docs [SVN r11440] --- config.htm | 62 +++++++++++++++++++++++++++++++++--------------------- 1 file changed, 38 insertions(+), 24 deletions(-) diff --git a/config.htm b/config.htm index a21ff06b..dc0201c8 100644 --- a/config.htm +++ b/config.htm @@ -5,13 +5,14 @@ content="text/html; charset=iso-8859-1"> - + -

+

Boost Configuration Reference

@@ -41,29 +42,35 @@ content="C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\html.dot">

Using the default boost configuration

-

Boost is comes already configured -for most common compilers and platforms; you should be able to use boost "as -is". Since the compiler is -configured separately from the standard library, the default configuration -should work even if you replace the compiler's standard -library with a third-party standard library (like STLport).

+

Boost is comes already configured for most common compilers +and platforms; you should be able to use boost "as is". +Since the compiler is configured separately from the standard +library, the default configuration should work even if you +replace the compiler's standard library with a third-party +standard library (like STLport). +

-

Using boost "as is" without trying to reconfigure is the recommended method -for using boost. You can, however, run the configure script if you want to, and there are regression tests +

Using boost "as is" without trying to reconfigure is +the recommended method for using boost. You can, however, run the +configure script if you want to, and there are regression tests provided that allow you to test the current boost configuration with your particular compiler setup.

-

Boost library users can request support for additional compilers or platforms -by visiting our -Tracker and submitting a support request.

+

Boost library users can request support for additional +compilers or platforms by visiting our Tracker +and submitting a support request.

-

The <boost/config.hpp> header

+

The <boost/config.hpp> +header

-

Boost library implementations access configuration macros via #include <boost/config.hpp>.

+

Boost library implementations access configuration macros via #include +<boost/config.hpp>.

-

Boost library users are never required to #include <boost/config.hpp>, -and are discouraged from doing so on their own. It is an implementation detail -which is subject to change, and thus should not be depended upon by users.

+

Boost library users are never required to #include +<boost/config.hpp>, and are discouraged from doing +so on their own. It is an implementation detail which is subject +to change, and thus should not be depended upon by users.

Using the configure script

@@ -484,8 +491,9 @@ the standard.

BOOST_NO_CTYPE_FUNCTIONS Platform The Platform does not - provide functions for the character-classifying operations - <ctype.h> and <cctype>, only macros. + provide functions for the character-classifying + operations <ctype.h> and <cctype>, only + macros. BOOST_NO_CV_SPECIALIZATIONS @@ -734,10 +742,9 @@ f(&bar); // should choose #2. BOOST_NO_VOID_RETURNS Compiler - The compiler does not - allow a void function to return the result of calling - another void function. -
void f() {}
+        The compiler does not allow
+        a void function to return the result of calling another
+        void function. 
void f() {}
 void g() { return f(); }
@@ -970,6 +977,13 @@ user code.

defined by <boost/cstdint.hpp> is not usable in integral constant expressions. + + BOOST_MSVC + <boost/config.hpp> + Defined if the compiler is really + Microsoft Visual C++, as opposed to one of the many other + compilers that also define _MSC_VER. + BOOST_NO_WREGEX <boost/regex.hpp>