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

Ticket #51 (closed enhancement: fixed)

Opened 18 years ago

Last modified 18 years ago

Add Non-format Functionality to Stdout

Reported by: JJR Assigned to: kris
Priority: major Milestone: 1.0
Component: Tango Version: 0.95 beta 1
Keywords: Stdout Cc:

Description (Last modified by JJR)

Currently Stdout requires a format string (char[]) to be the first argument submitted. This is a severe limitation for those trying to use Stdout for quick dirty use.

Tango needs to stay competitive with Phobos writef functions. This ticket requests that we add an overloaded print method to Stdout that allows non-formatted output such that the following works in place.

long num = 50l;

Stdout (num).endline;

At present, we must do something obscene like this :) :

long num = 50l;

Stdout (" ",num).endline;

Change History

06/21/06 23:48:43 changed by JJR

  • description changed.

06/21/06 23:49:58 changed by JJR

  • description changed.

06/22/06 14:53:11 changed by larsivi

  • type changed from defect to enhancement.

07/23/06 18:13:24 changed by kris

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

the formatted output has been changed to Stdout.format() so that it does not cause signature collisions with the "q&d" formatting options.