CMS 3D CMS Logo

lat::BitOpsReverse< B > Struct Template Reference

Helper to reverse bits in n. More...

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


Classes

struct  Op


Detailed Description

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

Helper to reverse bits in n.

The operation for B swaps B adacent bits. The operation starts with B=1 (neighbouring odd and even bits are swapped), and then works on recursively larger adjacent bit sequences until the whole word has been swapped front-to-back.

Definition at line 158 of file BitOps.h.


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