Update of /cvsroot/mahogany/M/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21275/include
Modified Files:
MObject.h
Log Message:
added operator*() to smart pointer classes
Index: MObject.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/MObject.h,v
retrieving revision 1.32
retrieving revision 1.33
diff -b -u -2 -r1.32 -r1.33
--- MObject.h 16 Oct 2003 12:17:09 -0000 1.32
+++ MObject.h 20 Apr 2004 13:03:47 -0000 1.33
@@ -261,4 +261,5 @@
classname *Get() const { return m_ptr; } \
\
+ classname& operator*() const { return *Get(); } \
classname *operator->() const { return Get(); } \
\
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates