178 |
kaklik |
1 |
#ifndef __MIMASEXTERNALIMAGEFUNC |
|
|
2 |
# error "Do not include this file directly." |
|
|
3 |
#endif |
|
|
4 |
#ifndef __MIMASFUNCTIONOBJECT |
|
|
5 |
# error "Do not include this file directly." |
|
|
6 |
#endif |
|
|
7 |
|
|
|
8 |
namespace mimas { |
|
|
9 |
|
|
|
10 |
/** @addtogroup arrayOp |
|
|
11 |
@{ */ |
|
|
12 |
/// |
|
|
13 |
template < |
|
|
14 |
typename T, typename T1Ptr, typename T2Ptr |
|
|
15 |
> |
|
|
16 |
image< T > __MIMASEXTERNALIMAGEFUNC( const const_image_ref< T, T1Ptr > &a, |
|
|
17 |
const const_image_ref< T, T2Ptr > &b ) |
|
|
18 |
{ |
|
|
19 |
return image_func< T >( a, b, __MIMASFUNCTIONOBJECT< T >() ); |
|
|
20 |
}; |
|
|
21 |
|
|
|
22 |
///@} |
|
|
23 |
|
|
|
24 |
} |
|
|
25 |
|
|
|
26 |
#undef __MIMASEXTERNALIMAGEFUNC |
|
|
27 |
#undef __MIMASFUNCTIONOBJECT |