| 107 | */ |
| 108 | template <class TMemberFunctionPointer> |
| 109 | struct CastAddressor |
| 110 | { |
| 111 | using ObjectType = typename ::detail::FunctionTraits<TMemberFunctionPointer>::ClassType; |
| 112 | |
| 113 | template <typename TImageType1, typename TImageType2> |
| 114 | constexpr TMemberFunctionPointer |
| 115 | operator()() const |
| 116 | { |
| 117 | return &ObjectType::template ExecuteInternalCast<TImageType1, TImageType2>; |
| 118 | } |
| 119 | }; |
| 120 | |
| 121 | /** An addressor of ExecuteInternalToVector to be utilized with |
| 122 | * registering member functions with the factory. |
nothing calls this directly
no outgoing calls
no test coverage detected