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

This is the documentation for an old version of Boost. Click here to view this page for the latest version.


/* Boost.Flyweight test of intermodule_holder.
 * Copyright 2006-2008 Joaquin M Lopez Munoz.
 * Distributed under the Boost Software License, Version 1.0.
 * (See accompanying file LICENSE_1_0.txt or copy at
 * See for library home page.

#include "test_intermod_holder.hpp"

#include "intermod_holder_dll.hpp"
#include "test_basic_template.hpp"

using namespace boost::flyweights;

struct intermodule_holder_flyweight_specifier1
  template<typename T>
  struct apply
    typedef flyweight<T,intermodule_holder> type;

void test_intermodule_holder()

  intermodule_flyweight_string str=