Athena::BitTraits< T > Struct Template Reference

#include <SealSignal.h>

List of all members.

Public Types

enum  { Bits = sizeof (T) * CHAR_BIT }
 

Number of bits in T.


enum  { Bytes = Bits / 8 + ((Bits % 8) > 0) }
 

Number of 8-bit bytes in T.


enum  { Digits = (Bits * 30103) / 100000 + 1 }
 

Number of base-10 digits in T (without leading sign).


enum  { HexDigits = Bits / 4 + ((Bits % 4) > 0) }
 

Number of base-16 digits in T (without leading sign).



Detailed Description

template<class T>
struct Athena::BitTraits< T >

Describe the bit features of an integral type T.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1