[Insight-developers] SmartPointer comparison operators

Joshua Cates cates@sci.utah.edu
Thu, 9 May 2002 11:29:39 -0600 (MDT)


Hi Luis,

> At this moment we are changing all the GetOutput() and GetInput()
> methods on the toolkit for returning raw pointers instead of SmartPointer.


Does this extend to other methods?  Currently, the convention is:

 smartpointer Function( pointer ) { return smartpointer; }

And for polymorphism you call GetPointer() on the smart pointer.


Is there a new convention?

Josh.




______________________________
 Josh Cates
 School of Computer Science
 University of Utah
 Email: cates@sci.utah.edu
 Phone: (801) 587-7697
 URL:   www.cs.utk.edu/~cates