d_time and writefln

Stewart Gordon smjg_1998 at yahoo.com
Tue May 9 05:54:02 PDT 2006


Chris Nicholson-Sauls wrote:
<snip>
> The problem is, that 'd_time' is just an alias of long, so writef*() 
> just sees it as a long.  Maybe d_time could be typedef'd to change this, 
> but would that break anything?  If it has no or few cons against it, I'm 
> cool with typedef'ing it, although it would couple std.format and 
> std.date to each other a little.

If we have this, then we ought to have a way for the programmer to 
define a custom formatting for any typedef.

Stewart.

-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/M d- s:-@ C++@ a->--- UB@ P+ L E@ W++@ N+++ o K-@ w++@ O? M V? PS- 
PE- Y? PGP- t- 5? X? R b DI? D G e++++ h-- r-- !y
------END GEEK CODE BLOCK------

My e-mail is valid but not my primary mailbox.  Please keep replies on 
the 'group where everyone may benefit.



More information about the Digitalmars-d-bugs mailing list