Boost C++ Libraries

...one 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.
Front Page / Data Types / Miscellaneous / empty_base

empty_base

Synopsis

struct empty_base {};

Description

An empty base class. Inheritance from empty_base through the inherit metafunction is a no-op.

Header

#include <boost/mpl/empty_base.hpp>

See also

Data Types, inherit, inherit_linearly, void_