Changeset 1053 in Sophya for trunk/SophyaLib/HiStats/hisprof.cc


Ignore:
Timestamp:
Jun 30, 2000, 3:21:53 PM (25 years ago)
Author:
ansari
Message:

les friend operator ne marche plus ? passage en inline cmv 30/06/00

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/HiStats/hisprof.cc

    r926 r1053  
    230230}
    231231
    232 /********* Methode *********/
    233 /*!
    234   Operateur H = H1 + H2
    235   Meme commentaire que pour l'operateur +=
    236 */
    237 HProf operator + (const HProf& a, const HProf& b)
    238 {
    239 if (b.NBins()!=a.NBins()) THROW(sizeMismatchErr);
    240 HProf c(a);
    241 return (c += b);
    242 }
    243 
    244232///////////////////////////////////////////////////////////
    245233// --------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.