[#BloombergLP-bdlb-BitUtil-sizeInBits] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/BitUtil.adoc[BitUtil]::sizeInBits :relfileprefix: ../../../ :mrdocs: Return the number of bits in the specified `value` of the (template parameter) type `INTEGER`. == Synopsis Declared in `<bdlb_bitutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class INTEGER> static int sizeInBits(INTEGER value = 0); ---- == Return Value number of bits in the type of `value` == Parameters [cols="1,4"] |=== | Name| Description | *value* | value whose bit width is returned |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#