$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Andy Little (andy_at_[hidden])
Date: 2005-10-24 04:19:15
"David Abrahams" <dave_at_[hidden]> wrote
> "Andy Little" <andy_at_[hidden]> writes:
> No, it's not what I said above. Remember, the usual runtime logic
> doesn't necessarily apply. my_rational<x,1> can be an integral
> constant *at compile time*. I'm not sure it's useful, but it's not
> insane.
BTW Another other issue in integrating tightly with integral constants is
division. You need a special e.g rational_divides<IntorRatA,IntorRatB> function.
regards
Andy Little