Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

Boost.Flyweight Tests

The Boost.Flyweight test suite exercises the whole spectrum of functionalities provided by the library. Although the tests are not meant to serve as a learning guide, the interested reader may find it useful to inspect the source code to gain familiarity with the usage of Boost.Flyweight.

Boost.Flyweight test suite.
Program Description
test_assoc_cont_factory.cpp assoc_container_factory factory specifier.
test_basic.cpp Exercises the default components of flyweight.
test_custom_factory.cpp Creates a user-defined factory class and specifier.
test_init.cpp Boost.Flyweight static data initialization facilities.
Exercises intermodule_holder.
test_multictor.cpp Tests flyweight multiple argument and initializer-list constructors.
test_no_locking.cpp no_locking policy.
test_no_tracking.cpp no_tracking policy.
test_serialization.cpp Exercises flyweight serialization capabilities.
test_set_factory.cpp set_factory factory specifier.

Revised September 1st 2014

© Copyright 2006-2014 Joaquín M López Muñoz. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at