www.digitalmars.com

D Programming Language 2.0

Last update Sat Jun 12 09:24:29 2010

std.compiler

Identify the compiler used and its various features.

License:
Boost License 1.0.

Authors:
Walter Bright

Copyright Digital Mars 2000 - 2009. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at ) http:
//www.boost.org/LICENSE_1_0.txt

const string name;
Vendor specific string naming the compiler, for example: "Digital Mars D".

enum Vendor;
Master list of D compiler vendors.

DigitalMars
Digital Mars

const Vendor vendor;
Which vendor produced this compiler.

const uint version_major;
const uint version_minor;
The vendor specific version number, as in version_major.version_minor

const uint D_major;
The version of the D Programming Language Specification supported by the compiler.