Boost logo

Boost :

From: Phil Richards (news_at_[hidden])
Date: 2004-01-09 11:14:28


On Fri, 09 Jan 2004 13:09:02 +0600, J.F.K. wrote:
> the solution proposed by Matthias Schabel and Deane Yang: 1) no
> automatic conversion (Rationale - it is error prone) code like this:
> L_cm = l1_cm + l2_m*cm_;

I vote for explicit conversion. From experience (with a dimensional
analysis package) implicit conversion may save a bit of typing (with a
keyboard), but causes problems with allowing "accidental" repeated
conversions.

phil

-- 
change name before "@" to "phil" for email

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