Boost.Flyweight Reference"boost/flyweight.hpp" synopsisflyweightBoost.Flyweight comprises the following public headers:
"boost/flyweight.hpp"flyweight
"boost/flyweight/factory_tag.hpp""boost/flyweight/hashed_factory_fwd.hpp""boost/flyweight/hashed_factory.hpp""boost/flyweight/concurrent_factory_fwd.hpp""boost/flyweight/concurrent_factory.hpp""boost/flyweight/set_factory_fwd.hpp""boost/flyweight/set_factory.hpp""boost/flyweight/assoc_container_factory_fwd.hpp""boost/flyweight/assoc_container_factory.hpp"
In order to use the serialization capabilities of Boost.Flyweight,
the appropriate Boost.Serialization library module must be linked. Other
than that, Boost.Flyweight is a header-only library, requiring no additional
object modules. The default simple_locking
locking policy introduces a dependency on the Pthreads library on those POSIX-compliant
environments where the Boost.Config macro
BOOST_HAS_PTHREADS is set.
"boost/flyweight.hpp"
synopsis
#include <boost/flyweight/flyweight.hpp> #include <boost/flyweight/hashed_factory.hpp> #include <boost/flyweight/refcounted.hpp> #include <boost/flyweight/simple_locking.hpp> #include <boost/flyweight/static_holder.hpp>
This convenience header includes the main class template
flyweight along with
the default components used by flyweight.
Revised September 17th 2024
© Copyright 2006-2024 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 http://www.boost.org/LICENSE_1_0.txt)