Boost C++ Libraries Home Libraries People FAQ More


Chapter 1. Boost.Extension

Jeremy Pack

Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at

Table of Contents

Recent Changes
Shared Libraries
Name Resolution
Other Issues with Shared Libraries
Possible Inefficiencies in Shared Libraries
shared_library class
Tutorial 1 - Using the shared_library class
Tutorial 2 - Basic Factories
Tutorial 3 - Multiple and Implementation Inheritance
Tutorial 4 - Multi-type Containers
Boost.Reflection/Boost.Extension Interoperability
Type Safety of Boost.Extension
Shared Libraries
Contents in Appendices
Appendix A - Windows Export and Import Declarations
Appendix B - Optional Dependencies

The most recent changes to Boost.Extension, in preparation for this library's submission to Boost for review:

  • Deprecation of factory_map in favor of type_map.
  • All reflection documentation will be contained within the Extension docs. During review, or perhaps shortly before, it will be determined whether or not these should be two separate libraries, and if so, where the split should occur - since they share significant functionality.
  • The adaptable_factory class has been added to facilitate calling factories when the parameters of the constructor are unknown.
  • The addition of the source code for a runtime compilation example. This involves compiling a shared library at runtime, and calling code from it. Examples will come soon.

Last revised: July 25, 2008 at 7:36:00 GMT