Changeset 2003
- Timestamp:
- 04/06/07 17:40:29 (2 years ago)
- Files:
-
- trunk/tango/text/convert/Sprint.d (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/tango/text/convert/Sprint.d
r1758 r2003 57 57 58 58 alias format opCall; 59 60 /********************************************************************** 61 62 Create a global formatter, used as a default for new 63 Sprint instances 64 65 **********************************************************************/ 66 67 static this () 68 { 69 global = new Layout!(T); 70 } 71 59 72 60 /********************************************************************** 73 61 … … 79 67 this (int size = 256) 80 68 { 69 // Workaround for bug with static ctors in GDC 70 if (global is null) 71 global = new Layout!(T); 81 72 this (size, global); 82 73 }












