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

Ticket #1236 (closed defect: fixed)

Opened 4 months ago

Last modified 1 month ago

Example for tango.text.convert.Layout

Reported by: mandel Assigned to: larsivi
Priority: major Milestone: 0.99.8
Component: Documentation Version: 0.99.7 Dominik
Keywords: Cc:

Description

The description for this module should contain a simple example and a note that Stdout.layout is a shared instance. That's little but valuable information.

Maybe something simple as this will help:

char[] string = Stdout.layout.convert("{} and {}", 42, "abc");
//string is "42 and abc"

Change History

10/20/08 04:53:34 changed by larsivi

I have added to the docs somewhat, however I find that the note on the sharedness (it concerns Stdout since that is the real shared instance, not Stdout.layout) already in the docs is adequate.

10/20/08 04:54:06 changed by larsivi

  • status changed from new to closed.
  • resolution set to fixed.

(In [4025]) Some doc updates, closes #1236, thanks mwarning