2006-10-20 Thierry GERAUD <theo(a)tegucigalpa.lrde.epita.fr>
* mlc/basic.hh (unref_): New.
Index: mlc/basic.hh
===================================================================
--- mlc/basic.hh (revision 662)
+++ mlc/basic.hh (working copy)
@@ -72,6 +72,20 @@
typedef typename basic_<T>::ret ret;
};
+
+
+ template <typename T>
+ struct unref_
+ {
+ typedef T ret;
+ };
+
+ template <typename T>
+ struct unref_< T& >
+ {
+ typedef T ret;
+ };
+
} // end of namespace mlc
Show replies by date