[haiku-bugs] [Haiku] #6381: BReference conversion operator

  • From: "czeidler" <trac@xxxxxxxxxxxx>
  • Date: Mon, 26 Jul 2010 04:38:58 -0000

#6381: BReference conversion operator
---------------------------+------------------------------------------------
   Reporter:  czeidler     |        Owner:  bonefish 
       Type:  enhancement  |       Status:  new      
   Priority:  normal       |    Milestone:  R1       
  Component:  - General    |      Version:  R1/alpha2
   Keywords:               |   Blocked By:           
Has a Patch:  0            |     Platform:  All      
   Blocking:               |  
---------------------------+------------------------------------------------
 Should I add a conversion operator to the BReference class?

 operator Type*() const
 {
         return fObject;
 }

 or is there a special reason why there is none?

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/6381>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: