CMS 3D CMS Logo

lat::BitOpsCount< B > Struct Template Reference

Helper to count the number of bits set in n. More...

#include <Iguana/Utilities/classlib/utils/BitOps.h>


Classes

struct  Op


Detailed Description

template<unsigned int B>
struct lat::BitOpsCount< B >

Helper to count the number of bits set in n.

Progressively combs through the bits, starting with all odd and even bits, and accumulating these, resulting in a number of set bits (FIXME: explain exactly how).

Definition at line 128 of file BitOps.h.


The documentation for this struct was generated from the following file:
Generated on Tue Jun 9 18:48:21 2009 for CMSSW by  doxygen 1.5.4