Skip to content

Commit

Permalink
remove dead code from std.conv
Browse files Browse the repository at this point in the history
  • Loading branch information
JackStouffer committed May 9, 2016
1 parent b8217a3 commit e9f6f4f
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions std/conv.d
Original file line number Diff line number Diff line change
Expand Up @@ -89,22 +89,6 @@ private void parseCheck(alias source)(dchar c, string fn = __FILE__, size_t ln =

private
{
template isImaginary(T)
{
enum bool isImaginary = staticIndexOf!(Unqual!T,
ifloat, idouble, ireal) >= 0;
}
template isComplex(T)
{
enum bool isComplex = staticIndexOf!(Unqual!T,
cfloat, cdouble, creal) >= 0;
}
template isNarrowInteger(T)
{
enum bool isNarrowInteger = staticIndexOf!(Unqual!T,
byte, ubyte, short, ushort) >= 0;
}

T toStr(T, S)(S src)
if (isSomeString!T)
{
Expand Down

0 comments on commit e9f6f4f

Please sign in to comment.