
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