
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Thorsten Ottosen Sent: Friday, August 18, 2006 4:35 AM To: boost@lists.boost.org Subject: Re: [boost] Boost Units library preview
Andy Little <andy <at> servocomm.freeserve.co.uk> writes:
// Quan quan::length::ft qft(3); std::cout << "quan qft.numeric_value() = "<< qft.numeric_value() << '\n'; assert(qft.numeric_value() ==3);
Just a question: why is the member called numeric_value? are there other values?
I think Thorsten's question is a sympotom of a larger issue. Why does Quan use such convoluted terminology? Fixed quantity? Abstract quantity? Coherent quantity? Named quantity? Concrete quantity? Anonymous quantity? Static unit? United value? A general-purpose library should use simple terms and a bare minimum of names. Just some constructive criticism. Eric.