48 #ifndef _MIRA_HASASSIGN_H_ 49 #define _MIRA_HASASSIGN_H_ 51 #include <type_traits> 59 template <
typename T,
typename U>
69 static auto testassign(T x, V y) -> decltype(x = y);
70 static Failure testassign(...);
95 template <typename T, typename U>
97 public
std::integral_constant<
bool, !detail::HasAssignHelper<T,U>::
not_type::value>
Definition: HasAssign.h:60
std::is_same< AssignResultType, Failure > not_type
Definition: HasAssign.h:75
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
Evaluates to std::true_type, if U can be assigned to T, i.e.
Definition: HasAssign.h:96
decltype(testassign(value< T >(), value< U >())) typedef AssignResultType
Definition: HasAssign.h:73