PolyBoRi
SetBitUInt.h
Go to the documentation of this file.
1 // -*- c++ -*-
2 //*****************************************************************************
14 //*****************************************************************************
15 
16 #ifndef polybori_groebner_SetBitUInt_h_
17 #define polybori_groebner_SetBitUInt_h_
18 
19 // include basic definitions
20 #include "groebner_defs.h"
21 
23 
28 class SetBitUInt{
29  public:
30  void operator() (unsigned int& vec, int index){
31  vec|=(1<<index);
32  }
33 };
34 
36 
37 #endif /* polybori_SetBitUInt_h_ */