Variant


Detailed Description

A holder of a runtime instantiated type. Used to provide runtime-specified images and views.


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 Types, typename UnaryOp>
GIL_FORCEINLINE
UnaryOp::result_type 
apply_operation (variant< Types > &arg, UnaryOp op)
 Invokes a generic mutable operation (represented as a unary function object) on a variant.
template<typename Types, typename UnaryOp>
GIL_FORCEINLINE
UnaryOp::result_type 
apply_operation (const variant< Types > &arg, UnaryOp op)
 Invokes a generic constant operation (represented as a unary function object) on a variant.
template<typename Types1, typename Types2, typename BinaryOp>
GIL_FORCEINLINE
BinaryOp::result_type 
apply_operation (const variant< Types1 > &arg1, const variant< Types2 > &arg2, BinaryOp op)
 Invokes a generic constant operation (represented as a binary function object) on two variants.

Generated on Sat May 2 13:50:16 2009 for Generic Image Library by  doxygen 1.5.6