Helpers.h File Reference

Various helper functions. More...


Namespaces

namespace  sps

Functions

template<class T>
size_t sps::sizeof_bits ()
 Template function to determine the size of a type in bits.
size_t sps::lg (size_t nValue)
 Returns the binary logarithm of nValue.


Detailed Description

Various helper functions.

This internal header file contains helper functions used in the various sparse set implementations. It is not necessary to include this file directly anywhere outside of the sparse set implementations. Nevertheless the functions described below are automatically available if one of the sparse set headers is included.

See also:


Generated on Wed Jun 20 21:20:43 2007 for SparseSet by  doxygen 1.5.2