Boost logo

Boost :

From: Carlo Wood (carlo_at_[hidden])
Date: 2006-06-08 22:29:01


On Thu, Jun 08, 2006 at 08:59:36PM +0100, Reece Dunn wrote:
> /** @brief mass */
>
> typedef base_unit< si_tag, mass, prefix::kilo > kilogram;
>
> typedef scaled_unit< kilogram, prefix::kilo > kg;
> typedef scaled_unit< kilogram, prefix::base > g;
> typedef scaled_unit< kilogram, prefix::milli > mg;

Surely you mean,

typedef base_unit< si_tag, mass, prefix::base > kilogram;

typedef scaled_unit< kilogram, prefix::base > kg;
typedef scaled_unit< kilogram, prefix::milli > g;

-- 
Carlo Wood <carlo_at_[hidden]>

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk