aimstil  5.0.5
loop.h File Reference
#include <boost/call_traits.hpp>
#include "til/is_traits.h"
#include "til/stditerator.h"
Include dependency graph for loop.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 til
 Belongs to package Box Do not include directly, include til/Box.h instead.
 
 til::detail
 Multiply an image with another object.
 

Functions

template<class TContainer , typename T , class TBinaryFunctor >
void til::detail::loop_cv (TContainer &c, T v, TBinaryFunctor f)
 
template<class TContainer , typename T , class TBinaryFunctor >
boost::enable_if_c< is_container< TContainer >::value &&!is_container< T >::value >::type til::loop (TContainer &c, T v, TBinaryFunctor f)
 Apply a binary functor to a collection and a constant. More...
 
template<typename T1 , typename T2 , class TBinaryFunctor >
void til::detail::loop_vv (T1 &x, T2 &y, TBinaryFunctor f)
 
template<typename T1 , typename T2 , class TBinaryFunctor >
boost::enable_if_c< !is_container< T1 >::value &&!is_container< T2 >::value >::type til::loop (T1 &x, T2 &y, TBinaryFunctor f)
 
template<class TContainer1 , class TContainer2 , typename TBinaryFunctor >
void til::detail::loop_cc (TContainer1 &c1, TContainer2 &res, TBinaryFunctor f)
 
template<class TContainer1 , class TContainer2 , typename TBinaryFunctor >
boost::enable_if_c< is_container< TContainer1 >::value &&is_container< TContainer2 >::value >::type til::loop (const TContainer1 &c1, TContainer2 &res, TBinaryFunctor f)
 Apply a binary functor to two collections. More...
 
template<typename T1 , typename T2 , typename T3 , class TBinaryFunctor >
void til::detail::loop_vvv (T1 x, T2 y, T3 &z, TBinaryFunctor f)
 
template<typename T1 , typename T2 , typename T3 , class TBinaryFunctor >
boost::enable_if_c< !is_container< T1 >::value &&!is_container< T2 >::value &&!is_container< T3 >::value >::type til::loop (T1 x, T2 y, T3 &z, TBinaryFunctor f)
 
template<class TContainer1 , class TContainer2 , class TContainerRes , class TBinaryFunctor >
void til::detail::loop_ccc (const TContainer1 &c1, const TContainer2 &c2, TContainerRes &res, TBinaryFunctor f)
 
template<class TContainer1 , class TContainer2 , class TContainerRes , class TBinaryFunctor >
boost::enable_if_c< is_container< TContainer1 >::value &&is_container< TContainer2 >::value &&is_container< TContainerRes >::value >::type til::loop (const TContainer1 &c1, const TContainer2 &c2, const TContainerRes &res, TBinaryFunctor f)
 
template<class TContainer , class TBinaryFunctor >
void til::detail::loop_cvc (const TContainer &c1, typename boost::call_traits< typename TContainer::value_type >::param_type v, TContainer &res, TBinaryFunctor f)
 
template<class TContainer , typename T , class TBinaryFunctor >
boost::enable_if_c< is_container< TContainer >::value &&!is_container< T >::value >::type til::loop (const TContainer &c1, T v, TContainer &res, TBinaryFunctor f)