blitz  Version 1.0.2
blitz::_bz_meta_bitwidth< I, L > Struct Template Reference

This metaprogram returns the number of bits necessary to fit the specified number. More...

#include <simdtypes.h>

Collaboration diagram for blitz::_bz_meta_bitwidth< I, L >:
Collaboration graph

Static Public Attributes

static const size_t width = _bz_meta_bitwidth<(I>>1), L+1>::width
 

Detailed Description

template<size_t I, size_t L>
struct blitz::_bz_meta_bitwidth< I, L >

This metaprogram returns the number of bits necessary to fit the specified number.

The metaprogram result for I is obtained as _bz_meta_bitwidth<I,0>::width.

Member Data Documentation

template<size_t I, size_t L>
const size_t blitz::_bz_meta_bitwidth< I, L >::width = _bz_meta_bitwidth<(I>>1), L+1>::width
static

The documentation for this struct was generated from the following file: