Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changeset 2730

Show
Ignore:
Timestamp:
10/28/07 21:09:35 (1 year ago)
Author:
kris
Message:

* added Text class as a replacement for String
* deprecated String ctors

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tango/text/String.d

    r2465 r2730  
    234234                space 
    235235 
    236         ***********************************************************************/ 
    237  
    238         this (uint space = 0) 
     236                deprecated: Use Text class instead 
     237 
     238        ***********************************************************************/ 
     239 
     240        deprecated this (uint space = 0) 
    239241        { 
    240242                content.length = space; 
     
    251253                wrapping an array "temporarily" with a stack-based String 
    252254 
    253         ***********************************************************************/ 
    254  
    255         this (T[] content, bool copy = true) 
     255                deprecated: Use Text class instead 
     256 
     257        ***********************************************************************/ 
     258 
     259        deprecated this (T[] content, bool copy = true) 
    256260        { 
    257261                set (content, copy); 
     
    268272                temporarily with a stack-based String 
    269273 
    270         ***********************************************************************/ 
    271  
    272         this (StringViewT other, bool copy = true) 
     274                deprecated: Use Text class instead 
     275 
     276        ***********************************************************************/ 
     277 
     278        deprecated this (StringViewT other, bool copy = true) 
    273279        { 
    274280                this (other.slice, copy);