Changeset 1053 in Sophya for trunk/SophyaLib/HiStats/hisprof.h
- Timestamp:
- Jun 30, 2000, 3:21:53 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/HiStats/hisprof.h
r958 r1053 52 52 HProf& operator = (const HProf& h); 53 53 HProf& operator += (const HProf& a); 54 friend HProf operator + (const HProf& a, const HProf& b);55 54 56 55 // Fit … … 94 93 // ObjFileIO<HProf> 95 94 95 /*! \ingroup HiStats \fn operator+(const HProf&, const HProf&) 96 \brief Operateur H = H1 + H2 97 \warning Meme commentaire que pour l'operateur += 98 */ 99 inline HProf operator + (const HProf& a, const HProf& b) 100 { 101 if (b.NBins()!=a.NBins()) THROW(sizeMismatchErr); 102 HProf c(a); 103 return (c += b); 104 } 96 105 97 106 } // Fin du namespace
Note:
See TracChangeset
for help on using the changeset viewer.