mimas::mm_image and mimas::mm_rgba are implemented according to the following conventions:
...
class B {
public:
...
explicit B( const class &A ) ...
...
};
...
int it would look like this: ...
class A {
public:
...
operator int(void) ...
...
};
...
std::copy or std::fill.See boost type-traits for more information about type-traits.