2006-09-07 Thierry GERAUD <theo(a)tegucigalpa.lrde.epita.fr>
* mlc/cmp.hh (assert_ok_): New shortcut.
Index: mlc/cmp.hh
===================================================================
--- mlc/cmp.hh (revision 524)
+++ mlc/cmp.hh (working copy)
@@ -198,6 +198,11 @@
mlc_is_not_a(T, mlc::not_ok) >::bexpr
{
};
+
+ template <typename T, typename err = no_error_message>
+ struct assert_ok_ : public assert_< is_ok_<T>, err >
+ {
+ };
/// \}