Boost logo

Boost :

From: Matthias Schabel (boost_at_[hidden])
Date: 2004-01-09 15:53:20


As an aside, what's the interest level in having dimensions be
specified by
arbitrary arithmetic types (rather than static_rational as I currently
do)? I'm
pretty sure I'll be able to remove the dependence on static_rational in
the
dimensional analysis code so that any class for which these compile-time
arithmetic operations is defined would work :

static_negate<T>
static_add<T,T>
static_subtract<T,T>
static_multiply<T,T>
static_divide<T,T>
is_zero<T>

------------------------------------------------------------------------
---------------------------
Matthias Schabel, Ph.D.
Utah Center for Advanced Imaging Research
729 Arapeen Drive
Salt Lake City, UT 84108
801-587-9413 (work)
801-585-3592 (fax)
801-706-5760 (cell)
801-484-0811 (home)
mschabel at ucair med utah edu


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