Rob Stewart <[EMAIL PROTECTED]> writes:

> When I read code that modifies the arguments, I find the code
> confusing as I can never know the value in that variable unless I
> inspect the entire function.  

So make 'em const:

   void f(double const x, Foo const y) { ... }


-- 
                       David Abrahams
   [EMAIL PROTECTED] * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to