Generic Image Library : variant.hpp File Reference

Modules | Alphabetical List | Class List | Directories | File List | File Members | GIL Home Page

# variant.hpp File Reference

## Detailed Description

Support for run-time instantiated types.

Author:
  Lubomir Bourdev and Hailin Jin
  Adobe Systems Incorporated

Date:
  2005-2007
  Last updated on March 9, 2007

`#include "../../gil_config.hpp"`
`#include "../../utilities.hpp"`
`#include <cassert>`
`#include <stdexcept>`
`#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>`

Go to the source code of this file.

## Namespaces

namespace | boost
namespace | boost::gil
namespace | boost::gil::detail

## Classes

class | variant

Represents a concrete instance of a run-time specified type from a set of types

A concept is typically modeled by a collection of different types. They may be instantiations of a templated type with different template parameters or even completely unrelated types. More...

## 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)