Boost GIL


Classes | Namespaces | Functions
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/utility/enable_if.hpp>
#include <boost/mpl/bool.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.

Classes

struct  type_to_index< Types, T >
 Returns the index corresponding to the first occurrance of a given given type in. More...
 
class  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. They may be instantiations of a templated type with different template parameters or even completely unrelated types. More...
 

Namespaces

 boost
 Pixel 2D LOCATOR.
 

Functions

template<typename T , typename Bits >
void copy_construct_in_place (const T &t, Bits &bits)
 
template<typename Types >
void swap (variant< Types > &x, variant< Types > &y)
 
template<typename Types >
bool operator== (const variant< Types > &x, const variant< Types > &y)
 
template<typename C >
bool 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