Changeset 4499

Timestamp:
Jun 8, 2007, 6:33:07 PM (15 years ago)
Author:
mconsoni
Message:

Some examples about versioning and multiple library loading:

a) Loading two different libraries with the same interface and the same class names. The result was OK, both implementations loaded and you could differentiate them by its Info (and I changed a returned std::string in one of them to see which was loaded).

b) Loading two times the same library. Both (equal) implementations loaded fine.

c) Loading two libraries, both with the same implementation (class) name but with different interface. The result was OK too, the factory_map loaded both factories and you could access to both classes.

. examples/versioning: main directory for the new example.

_ hello_world_versions.cpp: library to show (a), we define a new hello world library as it will be version 2.
_ salute.hpp/salute.cpp: different interface implementing a hello class to test (c)
_ main_versions.cpp: main function showing the examples.

. examples/Jamfile.v2: added new example.

(No files)

Note: See TracChangeset for help on using the changeset viewer.