3 * Implementation of several small and furry utilities. */
5 unsigned log2(unsigned n)
8 for (k = 0; n > 1; n >>= 1) ++k;
12 int compare_pointers(void const * a, void const * b)
22 // comment skeletton for header files
27 // default constructor, destructor, copy constructor assignment operator and helpers
33 // functions overriding virtual functions from bases classes
36 // new virtual functions which can be overridden by derived classes
39 // non-virtual functions in this class
47 // comment skeletton for implementation files
51 // default constructor, destructor, copy constructor assignment operator and helpers
65 // functions overriding virtual functions from bases classes
73 // new virtual functions which can be overridden by derived classes
81 // non-virtual functions in this class
89 // static member variables