friends

From: Chris Jillings (chris@owl.phy.queensu.ca)
Date: Wed Jul 01 1998 - 21:33:58 MEST


Hi all,
    I have gone from simple root programming to jumping in the deep end.
I have a class, QThreeVec, which handles 3-vectors in an elegant way. It
has been working for years here in other codes.
    I took on the task of rootifying it. The code compiles but the
dictionary generation fails. I thought that perhaps friend functions were
causing the trouble. The friend functions are ncessary to ensure that an 
expression like 
ThreeVec u,v;
Float_t a;
v=u*a;   

behaves in the same way as
v=a*u;

Does the dictionary handle friends?
Thanks,

Chris

=================================================================
=                                                               =
= Chris Jillings                                                =
= Department of Physics   phone/voice mail: (613) 545-6000x4805 =   
= Queen's University      fax: (613) 545-6813                   =
= Kingston, Ontario       email: chris@sno.phy.queensu.ca       =             
= Canada, K7L 3N6         web: http://sno.phy.queensu.ca        =
=                                                               =
=================================================================



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:34 MET