mirror of
https://github.com/dlang/phobos.git
synced 2025-05-03 00:20:26 +03:00
Merge pull request #1643 from WalterBright/rm-std.typecons-from-format
remove typecons std.string dependency from std.format
This commit is contained in:
commit
bdc3130198
1 changed files with 11 additions and 5 deletions
16
std/format.d
16
std/format.d
|
@ -7,11 +7,11 @@
|
|||
|
||||
Macros: WIKI = Phobos/StdFormat
|
||||
|
||||
Copyright: Copyright Digital Mars 2000-.
|
||||
Copyright: Copyright Digital Mars 2000-2013.
|
||||
|
||||
License: $(WEB boost.org/LICENSE_1_0.txt, Boost License 1.0).
|
||||
|
||||
Authors: $(WEB digitalmars.com, Walter Bright), $(WEB erdani.com,
|
||||
Authors: $(WEB walterbright.com, Walter Bright), $(WEB erdani.com,
|
||||
Andrei Alexandrescu), and Kenji Hara
|
||||
|
||||
Source: $(PHOBOSSRC std/_format.d)
|
||||
|
@ -21,12 +21,18 @@ module std.format;
|
|||
//debug=format; // uncomment to turn on debugging printf's
|
||||
|
||||
import core.stdc.stdio, core.stdc.stdlib, core.stdc.string, core.vararg;
|
||||
import std.algorithm, std.array, std.ascii, std.bitmanip, std.conv,
|
||||
std.exception, std.functional, std.math, std.range,
|
||||
std.system, std.traits, std.typecons, std.typetuple,
|
||||
import std.algorithm, std.ascii, std.bitmanip, std.conv,
|
||||
std.exception, std.range,
|
||||
std.system, std.traits, std.typetuple,
|
||||
std.utf;
|
||||
version (Win64) {
|
||||
import std.math : isnan;
|
||||
}
|
||||
version(unittest) {
|
||||
import std.math;
|
||||
import std.stdio;
|
||||
import std.string;
|
||||
import std.typecons;
|
||||
import core.exception;
|
||||
import std.string;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue