663: Add mlc::unref_.

20 Oct
2006
20 Oct
'06
5:36 p.m.
2006-10-20 Thierry GERAUD <theo@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
6935
Age (days ago)
6935
Last active (days ago)
0 comments
1 participants
participants (1)
-
Thierry GERAUD