Boost logo

Boost-Commit :

From: mconsoni_at_[hidden]
Date: 2007-07-10 14:23:37


Author: mconsoni
Date: 2007-07-10 14:23:36 EDT (Tue, 10 Jul 2007)
New Revision: 7404
URL: http://svn.boost.org/trac/boost/changeset/7404

Log:

- Added a small appendix about how to enable the use of different boost libraries (preprocessor and function).

Added:
   sandbox/libs/extension/doc/appendix_b.qbk
Text files modified:
   sandbox/libs/extension/doc/appendices.qbk | 1 +
   1 files changed, 1 insertions(+), 0 deletions(-)

Modified: sandbox/libs/extension/doc/appendices.qbk
==============================================================================
--- sandbox/libs/extension/doc/appendices.qbk (original)
+++ sandbox/libs/extension/doc/appendices.qbk 2007-07-10 14:23:36 EDT (Tue, 10 Jul 2007)
@@ -7,4 +7,5 @@
 
 [section:appendices Appendices]
 [include appendix_a.qbk]
+[include appendix_b.qbk]
 [endsect]
\ No newline at end of file

Added: sandbox/libs/extension/doc/appendix_b.qbk
==============================================================================
--- (empty file)
+++ sandbox/libs/extension/doc/appendix_b.qbk 2007-07-10 14:23:36 EDT (Tue, 10 Jul 2007)
@@ -0,0 +1,25 @@
+[/ Boost.Extension - optional libraries ]
+[/ Copyright 2007 Mariano G. Consoni ]
+[/ Distributed under the Boost Software License, Version 1.0. (See]
+[/ accompanying file LICENSE_1_0.txt or copy at ]
+[/ http://www.boost.org/LICENSE_1_0.txt) ]
+[/ See http://www.boost.org/ for latest version. ]
+
+[section:appendix_b Appendix B - Optional Dependencies]
+
+As suggested by Boost guidelines and our thoughts, we tried to keep the number of dependencies of Boost.Extension
+at the minimum. But we also wanted to take advantage of several boost libraries that have additional features
+and are easy to use.
+
+Then, we give the option to the user. Currently we have two different flags that change the implementation
+of the library:
+
+# BOOST_EXTENSION_USE_PP: enables the use of Boost.Preprocessor to implement some repetitive code.
+
+# BOOST_EXTENSION_USE_BOOST_FUNCTION: enables the use of Boost.Function to implement the functors pointing
+to the plugin implementations.
+
+You should define the variables at your convenience with any value to enable the use of each library.
+
+
+[endsect]


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk