
Boost Users : 
Subject: Re: [Boostusers] [boost] [chrono] v0.4.1 + thread_clock implementation on Windows
From: joel falcou (joel.falcou_at_[hidden])
Date: 20100620 10:50:35
vicente.botet wrote:
> What should be for you the requirements for a Rational Constant?
>
> Expression Type Complexity
> r::tag rational_c_tag Constant time.
> r::value_type A boost::rational<integral_type> type Constant time.
> r::num An integral constant expression Constant time.
> r::den An integral constant expression Constant time.
> r::type Rational Constant Constant time.
> r::value_type const c = r() Constant time.
>
> Expression Semantics
> r::tag r's tag type; n::tag::value is n's conversion rank.
> r::num The value of the numerator integral constant.
> r::den The value of the denominator integral constant.
> r::type is_equivalent<r::type,r>::value == true.
> r::value_type const c = r() c.numerator() * r::den == c.denominator() * r::num.
>
make sense I think
> Boost.Chrono follows the C++0x namming. What would be the advantage of renaming it?
>
OK then
Boostusers list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net