isVersion

template isVersion (
string identifier
) {}

Examples

1 version(Windows)
2   static assert(isVersion!"Windows");
3 
4 version(OSX)
5   static assert(isVersion!"OSX");
6 
7 version(linux)
8   static assert(isVersion!"linux");

Meta