std.traits and std.string incompatible ?

Wilfried Kirschenmann wilfried.kirschenmann at gmail.com
Tue Mar 8 08:24:04 PST 2011


Hi,

When running the following file:

#!../dmd2/linux/bin/rdmd -unittest
import std.string, std.traits;
void main(string[] args){
	bool test = isNumeric(args[0]);
}

I get the error :
dmd2/linux/bin/../../src/phobos/std/traits.d(2576): Error: template
std.traits.isNumeric(T) is not a function template

Is this a bug or is there something deprecated ?

Wilfried


More information about the Digitalmars-d-learn mailing list