D Programming Language 2.0

- Comments
- D
- Search
- Home

Last update Thu Sep 16 11:25:56 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.

Copyright Digital Mars 2000 - 2009. | Page generated by Ddoc.