Boost logo

Boost :

Subject: [boost] [units] Pull request and RFC: information unit definitions for Boost.Units
From: Erik Erlandson (eje_at_[hidden])
Date: 2014-06-18 17:34:25

Link to PR:

Adds unit definitions for standard units of information: bit, byte, nat, hartley, shannon. Defines a new unit system boost::units::information for convenient manipulation. Also includes IEC binary prefixes: kibi, mebi, gibi, tebi, pebi, exbi

Example code:

Unit testing code:

Boost list run by bdawes at, gregod at, cpdaniel at, john at