Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:24:10

0001 #include "PhysicsTools/SelectorUtils/interface/strbitset.h"
0002 
0003 namespace pat {
0004 
0005   const std::string strbitset::dummy_ = std::string("");
0006 
0007   strbitset operator&(const strbitset& l, const strbitset& r) {
0008     strbitset ret = r;
0009     ret &= l;
0010     return ret;
0011   }
0012 
0013   strbitset operator|(const strbitset& l, const strbitset& r) {
0014     strbitset ret = r;
0015     ret |= l;
0016     return ret;
0017   }
0018 
0019   strbitset operator^(const strbitset& l, const strbitset& r) {
0020     strbitset ret = r;
0021     ret ^= l;
0022     return ret;
0023   }
0024 
0025   std::ostream& operator<<(std::ostream& out, const strbitset::index_type& r) {
0026     out << r.i_;
0027     return out;
0028   }
0029 
0030 }  // namespace pat