Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

if you really need that, just write one:

bool operator ! (const Mat&m) { return m.empty(); }

Mat m1;
Mat m2(1,1,0);
cerr << !m1 << endl;
cerr << !m2 << endl;

1
0