Subject: Re: [Boost-users] [units] easier "power" of units generation
From: alfC (alfredo.correa_at_[hidden])
Date: 2010-05-07 04:47:58


On May 6, 7:48 am, Steven Watanabe <watanab..._at_[hidden]> wrote:
> The metafunction is power_typeof_helper.
> quantity<power_typeof_helper<angstrom_unit, static_rational<3> >::type> V;

Thank you, at least it is more explicit in it meaning.

This also seems to work for some magical reason (your magic probably):

power_typeof_helper<quantity<angstrom_unit>, static_rational<3>
>::type V2;

Thank you,
Alfredo