stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Lemings" <Eric.Lemi...@roguewave.com>
Subject RE: svn commit: r648131 - in /stdcxx/trunk/tests: localization/ strings/
Date Tue, 15 Apr 2008 16:25:15 GMT
 

> -----Original Message-----
> From: Martin Sebor [mailto:sebor@roguewave.com] 
> Sent: Tuesday, April 15, 2008 9:06 AM
> To: dev@stdcxx.apache.org
> Subject: Re: svn commit: r648131 - in /stdcxx/trunk/tests: 
> localization/ strings/
> 
> faridz@apache.org wrote:
> > Author: faridz
> > Date: Mon Apr 14 23:51:12 2008
> > New Revision: 648131
> > 
> > URL: http://svn.apache.org/viewvc?rev=648131&view=rev
> 
> Thanks for cleaning this up!
> 
> I wonder if it would make sense to enhance rw_printf() to check
> and assert the correct alignment of the arguments to help us
> detect at least some of these inconsistencies.
> 
> Opinions?

Most certainly.  I remember reading an old book called Writing
Solid Code and going to a lot of trouble to diagnose complex
usage semantics like this is usually well worth it especially
when there's really no documentation to guide correct usage.  :)

Brad.

Mime
View raw message