Adobe Systems, Inc.

variant.hpp File Reference

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

#include "../../core/gil_config.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  detail

Classes

struct  detail::copy_construct_in_place_fn< BITS >
struct  detail::destructor_op
struct  detail::equal_to_fn< BITS >
class  variant< TYPES >
 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...

struct  variant< TYPES >::base_t

Functions

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

Detailed Description

Author:
Lubomir Bourdev and Hailin Jin
Adobe Systems Incorporated
Date:
2005-2006
Last updated on April 21, 2006

Definition in file variant.hpp.

Copyright © 2006 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google