Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
variant.hpp File Reference

Support for run-time instantiated types. More...

#include "../../gil_config.hpp"
#include "../../utilities.hpp"
#include <cstddef>
#include <cassert>
#include <algorithm>
#include <typeinfo>
#include <boost/bind.hpp>
#include <boost/mpl/transform.hpp>
#include <boost/mpl/size.hpp>
#include <boost/mpl/sizeof.hpp>
#include <boost/mpl/max.hpp>
#include <boost/mpl/at.hpp>
#include <boost/mpl/fold.hpp>
Include dependency graph for variant.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  boost::gil::detail::type_to_index< Types, T >
 Returns the index corresponding to the first occurrance of a given given type in. More...
 
struct  boost::gil::detail::reduce< Op, T >
 
struct  boost::gil::detail::destructor_op
 
struct  boost::gil::detail::copy_construct_in_place_fn< Bits >
 
class  boost::gil::variant< Types >
 Represents a concrete instance of a run-time specified type from a set of typesA concept is typically modeled by a collection of different types. More...
 
struct  boost::gil::variant< Types >::base_t
 
struct  boost::gil::detail::copy_construct_in_place_fn< Bits >
 
struct  boost::gil::detail::equal_to_fn< Bits >
 

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::gil
 
 boost::gil::detail
 

Functions

template<typename T , typename Bits >
void boost::gil::detail::copy_construct_in_place (const T &t, Bits &bits)
 
template<typename Types >
void boost::gil::swap (variant< Types > &x, variant< Types > &y)
 
template<typename Types >
bool boost::gil::operator== (const variant< Types > &x, const variant< Types > &y)
 
template<typename C >
bool boost::gil::operator!= (const variant< C > &x, const variant< C > &y)
 

Detailed Description

Support for run-time instantiated types.

Author
Lubomir Bourdev and Hailin Jin
Adobe Systems Incorporated
Date
2005-2007
Last updated on September 18, 2007