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

Implements apply_operation for variants. More...

#include "apply_operation_base.hpp"
#include "variant.hpp"
Include dependency graph for apply_operation.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::gil
 

Functions

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

Detailed Description

Implements apply_operation for variants.

Optionally performs type reduction

Author
Lubomir Bourdev and Hailin Jin
Adobe Systems Incorporated
Date
2005-2007
Last updated on May 4, 2006